mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
996 B
Text
28 lines
996 B
Text
post_install() {
|
|
if [ -x usr/bin/xdg-icon-resource ]; then
|
|
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
|
fi
|
|
echo ">> If you use an HTTPS connection to CUPS, the first time you access"
|
|
echo ">> the interface it may take a very long time before the site comes up."
|
|
echo ">> This is because the first request triggers the generation of the CUPS"
|
|
echo ">> SSL certificates which can be a very time-consuming job."
|
|
}
|
|
|
|
post_upgrade() {
|
|
if [ -x usr/bin/xdg-icon-resource ]; then
|
|
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
|
fi
|
|
|
|
if [ "`vercmp $2 2.0.0-1`" -lt 0 ]; then
|
|
# important upgrade notice
|
|
echo "> systemd unit names have been renamed"
|
|
echo "> you should systemctl stop and disable cups.service and"
|
|
echo "> systemctl daemon-reload, start and enable org.cups.cupsd.service"
|
|
fi
|
|
}
|
|
|
|
post_remove() {
|
|
if [ -x usr/bin/xdg-icon-resource ]; then
|
|
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
|
fi
|
|
}
|