From 306036715d85aba0e8c35a8c0f040e0a1970fcff Mon Sep 17 00:00:00 2001 From: Kevin Mihelich <kevin@archlinuxarm.org> Date: Thu, 28 Apr 2016 00:58:58 +0000 Subject: [PATCH] extra/cups to 2.1.3-2 --- extra/cups/PKGBUILD | 2 +- extra/cups/cups.install | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/extra/cups/PKGBUILD b/extra/cups/PKGBUILD index 5e1f15423..adf0e84c7 100644 --- a/extra/cups/PKGBUILD +++ b/extra/cups/PKGBUILD @@ -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/" diff --git a/extra/cups/cups.install b/extra/cups/cups.install index 77fac9326..23732bb74 100644 --- a/extra/cups/cups.install +++ b/extra/cups/cups.install @@ -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 -}