[csw-devel] SF.net SVN: gar:[11133] csw/mgar/pkg/apache2/trunk/files/CSWap2worker. postinstall

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Oct 3 04:10:31 CEST 2010


Revision: 11133
          http://gar.svn.sourceforge.net/gar/?rev=11133&view=rev
Author:   bdwalton
Date:     2010-10-03 02:10:30 +0000 (Sun, 03 Oct 2010)

Log Message:
-----------
apache2: set default pkg_install_root in ap2worker postinstall so the chroot will always be passed a dir

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/files/CSWap2worker.postinstall

Modified: csw/mgar/pkg/apache2/trunk/files/CSWap2worker.postinstall
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/CSWap2worker.postinstall	2010-10-02 17:57:09 UTC (rev 11132)
+++ csw/mgar/pkg/apache2/trunk/files/CSWap2worker.postinstall	2010-10-03 02:10:30 UTC (rev 11133)
@@ -9,4 +9,4 @@
 # alternatives set httpd symlink.
 
 
-exec chroot $PKG_INSTALL_ROOT /opt/csw/sbin/alternatives --set httpd /opt/csw/apache2/sbin/httpd.worker
+exec chroot ${PKG_INSTALL_ROOT:-/} /opt/csw/sbin/alternatives --set httpd /opt/csw/apache2/sbin/httpd.worker


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