MINI Sh3ll
Path : /var/lib/dpkg/info/ |
|
Current File : /var/lib/dpkg/info/poppler-data.prerm |
#!/bin/sh
set -e
pathfind() {
OLDIFS="$IFS"
IFS=:
for p in $PATH; do
if [ -x "$p/$*" ]; then
IFS="$OLDIFS"
return 0
fi
done
IFS="$OLDIFS"
return 1
}
case "$1" in
remove|upgrade|deconfigure)
if $(pathfind update-gsfontmap); then
update-gsfontmap
fi
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0
OHA YOOOO