[csw-devel] SF.net SVN: gar:[15153] csw/mgar/pkg/screen/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Wed Jul 20 15:26:19 CEST 2011


Revision: 15153
          http://gar.svn.sourceforge.net/gar/?rev=15153&view=rev
Author:   chninkel
Date:     2011-07-20 13:26:19 +0000 (Wed, 20 Jul 2011)

Log Message:
-----------
screen: added socket directory migration script

Modified Paths:
--------------
    csw/mgar/pkg/screen/trunk/Makefile

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

Modified: csw/mgar/pkg/screen/trunk/Makefile
===================================================================
--- csw/mgar/pkg/screen/trunk/Makefile	2011-07-20 13:20:39 UTC (rev 15152)
+++ csw/mgar/pkg/screen/trunk/Makefile	2011-07-20 13:26:19 UTC (rev 15153)
@@ -17,6 +17,7 @@
 
 DISTFILES += screenrc
 DISTFILES += changelog.CSW
+DISTFILES += CSWscrn.postinstall
 
 DOCFILES = FAQ INSTALL NEWS NEWS.3.5 NEWS.3.6 NEWS.3.7 NEWS.3.9 README TODO ChangeLog
 

Added: csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall
===================================================================
--- csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall	                        (rev 0)
+++ csw/mgar/pkg/screen/trunk/files/CSWscrn.postinstall	2011-07-20 13:26:19 UTC (rev 15153)
@@ -0,0 +1,8 @@
+
+# Screen socket directory has changed, so we move all existing files
+# to the new directory
+for DIR in /tmp/uscreens /tmp/screens; do
+	if [ -d "$DIR" ]; then
+		mv "$DIR"/* /var/opt/csw/run/screen/
+	fi
+done


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