[csw-devel] SF.net SVN: gar:[20941] csw/mgar/pkg/netatalk/trunk/files

slowfranklin at users.sourceforge.net slowfranklin at users.sourceforge.net
Thu May 2 16:16:27 CEST 2013


Revision: 20941
          http://gar.svn.sourceforge.net/gar/?rev=20941&view=rev
Author:   slowfranklin
Date:     2013-05-02 14:16:27 +0000 (Thu, 02 May 2013)
Log Message:
-----------
Fix package scripts for alt-root installs

Modified Paths:
--------------
    csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.postinstall
    csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.preremove

Modified: csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.postinstall
===================================================================
--- csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.postinstall	2013-05-02 14:02:13 UTC (rev 20940)
+++ csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.postinstall	2013-05-02 14:16:27 UTC (rev 20941)
@@ -1,2 +1,2 @@
 #!/bin/sh
-svccfg import /var/opt/csw/svc/manifest/network/netatalk.xml
+chroot ${PKG_INSTALL_ROOT:-/} /usr/sbin/svccfg import /var/opt/csw/svc/manifest/network/netatalk.xml > /dev/null 2>&1

Modified: csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.preremove
===================================================================
--- csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.preremove	2013-05-02 14:02:13 UTC (rev 20940)
+++ csw/mgar/pkg/netatalk/trunk/files/CSWnetatalk.preremove	2013-05-02 14:16:27 UTC (rev 20941)
@@ -1,2 +1,2 @@
 #!/bin/sh
-svccfg delete netatalk
+chroot ${PKG_INSTALL_ROOT:-/} /usr/sbin/svccfg delete -f netatalk

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