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

Pierre Schmitz pierre at nymeria.archlinux.org
Sun May 12 06:43:06 EDT 2013


    Date: Sunday, May 12, 2013 @ 12:43:06
  Author: pierre
Revision: 185235

upgpkg: ca-certificates 20130119-2

move binaries from bin to sbin

Modified:
  ca-certificates/trunk/PKGBUILD
  ca-certificates/trunk/ca-certificates.install

-------------------------+
 PKGBUILD                |    3 ++-
 ca-certificates.install |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 10:36:09 UTC (rev 185234)
+++ PKGBUILD	2013-05-12 10:43:06 UTC (rev 185235)
@@ -3,7 +3,7 @@
 
 pkgname=ca-certificates
 pkgver=20130119
-pkgrel=1
+pkgrel=2
 pkgdesc='Common CA certificates'
 arch=('any')
 url='http://packages.qa.debian.org/c/ca-certificates.html'
@@ -26,6 +26,7 @@
 	cd ${srcdir}/${pkgname}-${pkgver}
 	install -d -m755 ${pkgdir}/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}
 	make install DESTDIR=${pkgdir}
+	mv ${pkgdir}/usr/sbin ${pkgdir}/usr/bin
 	install -D -m644 sbin/update-ca-certificates.8 ${pkgdir}/usr/share/man/man8/update-ca-certificates.8
 
 	(

Modified: ca-certificates.install
===================================================================
--- ca-certificates.install	2013-05-12 10:36:09 UTC (rev 185234)
+++ ca-certificates.install	2013-05-12 10:43:06 UTC (rev 185235)
@@ -1,14 +1,14 @@
 export LC_ALL=C
 
 post_install() {
-	usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
+	usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
 }
 
 post_upgrade() {
 	if [ $(vercmp $2 20110421-1) -lt 0 ]; then
 		echo 'Updating certificates. This might take a while...'
 	fi
-	usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
+	usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
 }
 
 pre_remove() {
@@ -16,7 +16,7 @@
 	local _backup=$(mktemp)
 	mv etc/ca-certificates.conf ${_backup}
 	echo > etc/ca-certificates.conf
-	usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
+	usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
 	mv ${_backup} etc/ca-certificates.conf
 }
 



More information about the arch-commits mailing list