[arch-commits] Commit in cups/trunk (PKGBUILD cups.install)

Andreas Radke andyrtr at archlinux.org
Wed Apr 27 18:27:50 UTC 2016


    Date: Wednesday, April 27, 2016 @ 20:27:50
  Author: andyrtr
Revision: 266301

upgpkg: cups 2.1.3-2

Hooks rebuild (part 1)

Modified:
  cups/trunk/PKGBUILD
  cups/trunk/cups.install

--------------+
 PKGBUILD     |    2 +-
 cups.install |   22 ----------------------
 2 files changed, 1 insertion(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-27 18:10:24 UTC (rev 266300)
+++ PKGBUILD	2016-04-27 18:27:50 UTC (rev 266301)
@@ -4,7 +4,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/"

Modified: cups.install
===================================================================
--- cups.install	2016-04-27 18:10:24 UTC (rev 266300)
+++ cups.install	2016-04-27 18:27:50 UTC (rev 266301)
@@ -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
-}



More information about the arch-commits mailing list