20 lines
359 B
Plaintext
20 lines
359 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
set -e
|
||
|
|
|
||
|
|
case "$1" in
|
||
|
|
remove)
|
||
|
|
update-alternatives --remove pager /bin/more
|
||
|
|
;;
|
||
|
|
|
||
|
|
upgrade|failed-upgrade|deconfigure)
|
||
|
|
;;
|
||
|
|
|
||
|
|
esac
|
||
|
|
|
||
|
|
# Automatically added by dh_installsystemd/12
|
||
|
|
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
|
||
|
|
deb-systemd-invoke stop 'fstrim.service' 'fstrim.timer' >/dev/null || true
|
||
|
|
fi
|
||
|
|
# End automatically added section
|
||
|
|
|