Files
zed-packager/postrm
Lawrence Deneiple 21baf34558
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
refactor: copy maintainer scripts instead of generating them
2025-10-14 11:41:24 +02:00

12 lines
357 B
Bash

#!/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