SF.net SVN: gar:[22301] csw/mgar/pkg/ca_certificates/trunk/files/ CSWcacertificates.postinstall

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Fri Oct 25 11:52:16 CEST 2013


Revision: 22301
          http://gar.svn.sourceforge.net/gar/?rev=22301&view=rev
Author:   chninkel
Date:     2013-10-25 09:52:16 +0000 (Fri, 25 Oct 2013)
Log Message:
-----------
ca_certificates/trunk: fix alternate root installation

Modified Paths:
--------------
    csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postinstall

Modified: csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postinstall
===================================================================
--- csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postinstall	2013-10-25 09:51:51 UTC (rev 22300)
+++ csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postinstall	2013-10-25 09:52:16 UTC (rev 22301)
@@ -1,6 +1,6 @@
 # Update ca lists
-if [ -n "${BASEDIR}" ]; then
-	chroot ${BASEDIR} /opt/csw/sbin/update-ca-certificates
+if [ -n "${PKG_INSTALL_ROOT}" ]; then
+	chroot "${PKG_INSTALL_ROOT}" /opt/csw/sbin/update-ca-certificates
 else
 	/opt/csw/sbin/update-ca-certificates
 fi

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list