[arch-commits] Commit in cups/trunk (PKGBUILD cups.install)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Jul 14 19:06:36 UTC 2011
Date: Thursday, July 14, 2011 @ 15:06:35
Author: andyrtr
Revision: 131768
upgpkg: cups 1.4.7-2
rename rc script FS#25014
Modified:
cups/trunk/PKGBUILD
cups/trunk/cups.install
--------------+
PKGBUILD | 4 ++--
cups.install | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-07-14 18:23:13 UTC (rev 131767)
+++ PKGBUILD 2011-07-14 19:06:35 UTC (rev 131768)
@@ -4,7 +4,7 @@
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.4.7
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.cups.org/"
@@ -105,7 +105,7 @@
# kill the sysv stuff
rm -rf ${pkgdir}/etc/rc*.d
rm -rf ${pkgdir}/etc/init.d
- install -D -m755 ../cups ${pkgdir}/etc/rc.d/cups
+ install -D -m755 ../cups ${pkgdir}/etc/rc.d/cupsd
install -D -m644 ../cups.logrotate ${pkgdir}/etc/logrotate.d/cups
install -D -m644 ../cups.pam ${pkgdir}/etc/pam.d/cups
Modified: cups.install
===================================================================
--- cups.install 2011-07-14 18:23:13 UTC (rev 131767)
+++ cups.install 2011-07-14 19:06:35 UTC (rev 131768)
@@ -12,6 +12,11 @@
if [ -x usr/bin/xdg-icon-resource ]; then
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
fi
+ if [ "`vercmp $2 1.4.7-2`" -lt 0 ]; then
+ # important upgrade notice
+ echo "daemon srcript has been renamed to /etc/rc.d/cupsd"
+ echo "change your entry in /etc/rc.conf"
+ fi
}
post_remove() {
More information about the arch-commits
mailing list