[csw-devel] SF.net SVN: gar:[15162] csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Wed Jul 20 16:23:33 CEST 2011


Revision: 15162
          http://gar.svn.sourceforge.net/gar/?rev=15162&view=rev
Author:   chninkel
Date:     2011-07-20 14:23:33 +0000 (Wed, 20 Jul 2011)

Log Message:
-----------
screen: fixed CSWscrn postinstall script (2)

Modified Paths:
--------------
    csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall

Modified: csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall
===================================================================
--- csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall	2011-07-20 14:19:49 UTC (rev 15161)
+++ csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall	2011-07-20 14:23:33 UTC (rev 15162)
@@ -8,11 +8,13 @@
 	cd $SOCKET_DIR
 	for DIR in *; do
 		[ -d "$DIR" ] || continue
-		mkdir "$NEW_SOCKET_DIR/$DIR"
+		mkdir -p "$NEW_SOCKET_DIR/$DIR"
 		getfacl "$DIR" | setfacl -f - "$NEW_SOCKET_DIR/$DIR"
 		for SESSION in "$DIR"/*; do
 			[ -p "$SESSION" ] || continue
-			ln -s "$SESSION" "$NEW_SOCKET_DIR/$DIR/$SESSION"
+			ln -s "$SESSION" "$NEW_SOCKET_DIR/$SESSION"
 		done
 	done
 done
+
+true


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