Initial Debian package for PostIt.Desktop (yavsc)
This commit is contained in:
commit
9703ebf4dd
13 changed files with 421 additions and 0 deletions
17
debian/postrm
vendored
Executable file
17
debian/postrm
vendored
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
# postrm — run after the package is removed or purged
|
||||
#
|
||||
# Refresh the desktop-file database so the application disappears
|
||||
# from the menu. We do not unregister the postit:// MIME handler
|
||||
# at the system level (no clean API for that) — if the user wants
|
||||
# a different default they can run `xdg-mime default ...` themselves.
|
||||
|
||||
set -e
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
update-desktop-database -q /usr/share/applications || true
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue