Carpincho/build/Deb64/DEBIAN/postrm
2026-09-29 23:32:03 -03:00

13 lines
300 B
Bash
Executable File

#!/bin/sh
set -e
case "$1" in
remove|purge)
if [ -x /usr/bin/update-menus ]; then update-menus; fi
if [ -d /run/systemd/system ]; then systemctl daemon-reload; fi
;;
esac
if [ "$1" = purge ] && [ ! -e /etc/init.d/emalibre ]; then
update-rc.d emalibre remove
fi
exit 0