d964da3bd5
Approved by: maintainer
18 lines
278 B
Bash
18 lines
278 B
Bash
#!/bin/sh
|
|
|
|
REPLACES_BINARIES="/usr/bin/lpr
|
|
/usr/bin/lp
|
|
/usr/bin/lpq
|
|
/usr/bin/lprm
|
|
/usr/bin/lpstat
|
|
/usr/sbin/lpc"
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
for FILE in ${REPLACES_BINARIES}; do
|
|
[ -e "${FILE}.bak" ] && mv "${FILE}.bak" "${FILE}"
|
|
done
|
|
;;
|
|
esac
|
|
exit 0
|