Initial Debian package for PostIt.Desktop (yavsc)

This commit is contained in:
Paul Schneider 2026-06-28 00:10:15 +01:00
commit 9703ebf4dd
13 changed files with 421 additions and 0 deletions

17
debian/postrm vendored Executable file
View 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