[csw-devel] SF.net SVN: gar:[13647] csw/mgar/pkg/puppet/trunk/files/CSWpuppet. postinstall
phipsy at users.sourceforge.net
phipsy at users.sourceforge.net
Mon Mar 7 17:56:14 CET 2011
Revision: 13647
http://gar.svn.sourceforge.net/gar/?rev=13647&view=rev
Author: phipsy
Date: 2011-03-07 16:56:14 +0000 (Mon, 07 Mar 2011)
Log Message:
-----------
Fixed puppet postinstall a bit more
Modified Paths:
--------------
csw/mgar/pkg/puppet/trunk/files/CSWpuppet.postinstall
Modified: csw/mgar/pkg/puppet/trunk/files/CSWpuppet.postinstall
===================================================================
--- csw/mgar/pkg/puppet/trunk/files/CSWpuppet.postinstall 2011-03-07 16:45:37 UTC (rev 13646)
+++ csw/mgar/pkg/puppet/trunk/files/CSWpuppet.postinstall 2011-03-07 16:56:14 UTC (rev 13647)
@@ -15,7 +15,9 @@
if [ ! -d $PKG_INSTALL_ROOT/var/lib ]; then
/usr/sbin/chroot $PKG_INSTALL_ROOT /usr/bin/mkdir -p /var/lib/puppet
- /usr/sbin/chroot $PKG_INSTALL_ROOT /usr/bin/ln -s /var/lib/puppet /var/opt/csw/puppet
+ if [ ! -d $PKG_INSTALL_ROOT/var/opt/csw/puppet ]; then
+ /usr/sbin/chroot $PKG_INSTALL_ROOT /usr/bin/ln -s /var/lib/puppet /var/opt/csw/puppet
+ fi
fi
if [ ! -d $PKG_INSTALL_ROOT/opt/csw/var/puppet ]; then
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