SF.net SVN: gar:[23473] csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Tue Apr 22 23:16:35 CEST 2014
Revision: 23473
http://sourceforge.net/p/gar/code/23473
Author: chninkel
Date: 2014-04-22 21:16:31 +0000 (Tue, 22 Apr 2014)
Log Message:
-----------
screen/trunk: remove obsolete postinstall script
Removed Paths:
-------------
csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall
Deleted: csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall
===================================================================
--- csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall 2014-04-22 21:14:09 UTC (rev 23472)
+++ csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall 2014-04-22 21:16:31 UTC (rev 23473)
@@ -1,23 +0,0 @@
-
-NEW_SOCKET_DIR="/var/opt/csw/run/screen/"
-
-# Screen socket directory has changed, we symlink all existing
-# screen socket so the transition is transparent for users
-for SOCKET_DIR in /tmp/uscreens /tmp/screens; do
- [ -d "$SOCKET_DIR" ] || continue
- cd $SOCKET_DIR
- for DIR in S-*; do
- [ -d "$DIR" ] || continue
- mkdir -m 700 -p "$NEW_SOCKET_DIR/$DIR"
- ls -lnd "$DIR" | awk ' { print $3, $4 }' | {
- read _UID _GID
- chown $_UID:$_GID "$NEW_SOCKET_DIR/$DIR"
- }
- for SESSION in "$DIR"/*; do
- [ -p "$SESSION" ] || continue
- ln -sf "$SOCKET_DIR/$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