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

Pierre Schmitz pierre at archlinux.org
Wed Aug 25 02:14:48 EDT 2010


    Date: Wednesday, August 25, 2010 @ 02:14:48
  Author: pierre
Revision: 88863

set lc_all in install

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

-------------------------+
 PKGBUILD                |   15 +++++++++------
 ca-certificates.install |    2 ++
 2 files changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-24 21:37:47 UTC (rev 88862)
+++ PKGBUILD	2010-08-25 06:14:48 UTC (rev 88863)
@@ -17,17 +17,20 @@
 
 build() {
 	cd ${srcdir}/${pkgname}-${pkgver}
-
-	install -d -m755 $pkgdir/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}
-	install -D -m644 sbin/update-ca-certificates.8 $pkgdir/usr/share/man/man8/update-ca-certificates.8
 	make
-	make install DESTDIR=$pkgdir
+}
 
+package() {
+	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}
+	install -D -m644 sbin/update-ca-certificates.8 ${pkgdir}/usr/share/man/man8/update-ca-certificates.8
+
 	(
 	echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}"
 	echo "# see update-ca-certificates man page"
 	echo "# "
-	cd $pkgdir/usr/share/ca-certificates
+	cd ${pkgdir}/usr/share/ca-certificates
 	find . -name '*.crt' | sort | cut -b3-
-	) > $pkgdir/etc/ca-certificates.conf
+	) > ${pkgdir}/etc/ca-certificates.conf
 }

Modified: ca-certificates.install
===================================================================
--- ca-certificates.install	2010-08-24 21:37:47 UTC (rev 88862)
+++ ca-certificates.install	2010-08-25 06:14:48 UTC (rev 88863)
@@ -1,3 +1,5 @@
+export LC_ALL=C
+
 post_install() {
 	usr/sbin/update-ca-certificates --fresh
 }



More information about the arch-commits mailing list