[PC-BSD Commits] r488 - in pcbsd/trunk/system-overlay/PCBSD/Components: ports source

svn at pcbsd.org svn at pcbsd.org
Sun Jul 15 18:10:06 PDT 2007


Author: kris
Date: 2007-07-16 02:10:06 +0100 (Mon, 16 Jul 2007)
New Revision: 488

Modified:
   pcbsd/trunk/system-overlay/PCBSD/Components/ports/remove.sh
   pcbsd/trunk/system-overlay/PCBSD/Components/source/remove.sh
Log:

Fix to ensure the /usr/ports and /usr/src gets recreated after component removal



Modified: pcbsd/trunk/system-overlay/PCBSD/Components/ports/remove.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Components/ports/remove.sh	2007-07-15 22:10:18 UTC (rev 487)
+++ pcbsd/trunk/system-overlay/PCBSD/Components/ports/remove.sh	2007-07-16 01:10:06 UTC (rev 488)
@@ -4,7 +4,9 @@
 rm -rf /usr/ports
 if [ "$?" = "0" ]
 then
+  mkdir /usr/ports
 exit 0
 else
+  mkdir /usr/ports
 exit 1
 fi

Modified: pcbsd/trunk/system-overlay/PCBSD/Components/source/remove.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Components/source/remove.sh	2007-07-15 22:10:18 UTC (rev 487)
+++ pcbsd/trunk/system-overlay/PCBSD/Components/source/remove.sh	2007-07-16 01:10:06 UTC (rev 488)
@@ -4,7 +4,9 @@
 rm -rf /usr/src
 if [ "$?" = "0" ]
 then
+  mkdir /usr/src
 exit 0
 else
+  mkdir /usr/src
 exit 1
 fi



More information about the Commits mailing list