refactor: copy maintainer scripts instead of generating them
All checks were successful
Build and Release Zed Editor / check-version (push) Successful in 3s
Build and Release Zed Editor / build-and-release (push) Has been skipped

This commit is contained in:
Lawrence Deneiple
2025-10-14 11:41:24 +02:00
parent 8aa30934e5
commit 21baf34558
3 changed files with 25 additions and 25 deletions

11
postrm Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor || true
fi
if command -v update-desktop-database >/dev/null 2>&1; then
update-desktop-database -q /usr/share/applications || true
fi
fi
exit 0