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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Fri Oct 25 12:00:33 CEST 2013


Revision: 22304
          http://gar.svn.sourceforge.net/gar/?rev=22304&view=rev
Author:   chninkel
Date:     2013-10-25 10:00:32 +0000 (Fri, 25 Oct 2013)
Log Message:
-----------
ca_certificates/trunk: add support for alternate root in postinstall script

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

Modified: csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postremove
===================================================================
--- csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postremove	2013-10-25 09:58:30 UTC (rev 22303)
+++ csw/mgar/pkg/ca_certificates/trunk/files/CSWcacertificates.postremove	2013-10-25 10:00:32 UTC (rev 22304)
@@ -2,9 +2,9 @@
 # We remove all dead links in /opt/csw/etc/ssl/certs/, 
 # that should remove all the links to the cerfificates
 # provided in this package
-find /etc/opt/csw/ssl/certs/ -type l | while read FILE; do 
+find "${PKG_INSTALL_ROOT}/etc/opt/csw/ssl/certs/" -type l | while read FILE; do 
 	[ -f "$FILE" ] || rm -f "$FILE"
 done
-rm -f /opt/csw/etc/ssl/certs/ca-certificates.crt
+rm -f "${PKG_INSTALL_ROOT}/etc/opt/csw/ssl/certs/ca-certificates.crt"
 
 exit 0

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