mirror of https://gitee.com/openkylin/cups.git
29 lines
304 B
Plaintext
29 lines
304 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
case "$1" in
|
||
|
install)
|
||
|
;;
|
||
|
|
||
|
upgrade)
|
||
|
if [ ! -L /usr/share/doc/cups-bsd ]; then
|
||
|
rm -rf /usr/share/doc/cups-bsd
|
||
|
fi
|
||
|
;;
|
||
|
|
||
|
abort-upgrade)
|
||
|
;;
|
||
|
|
||
|
*)
|
||
|
echo "preinst called with unknown argument \`$1'" >&2
|
||
|
exit 0
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
#DEBHELPER#
|
||
|
|
||
|
exit 0
|
||
|
|
||
|
|