mirror of
https://github.com/warpdotdev/warp.git
synced 2026-05-31 07:20:58 +08:00
13 lines
318 B
Bash
13 lines
318 B
Bash
#!/usr/bin/env bash
|
|
|
|
# The action ("remove" or "purge") is passed as the first argument to the
|
|
# postrm script.
|
|
action="$1"
|
|
|
|
rm -f /usr/bin/warp-terminal@@CHANNEL_SUFFIX@@
|
|
|
|
# Make sure the system forgets the newly-uninstalled desktop file.
|
|
if hash update-desktop-database 2>/dev/null; then
|
|
update-desktop-database
|
|
fi
|