mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/cups to 2.1.3-2
This commit is contained in:
parent
49d39fbe0f
commit
306036715d
2 changed files with 1 additions and 23 deletions
|
@ -7,7 +7,7 @@
|
|||
pkgbase="cups"
|
||||
pkgname=('libcups' 'cups')
|
||||
pkgver=2.1.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url="http://www.cups.org/"
|
||||
|
|
|
@ -1,28 +1,6 @@
|
|||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue