summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-20 21:08:39 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-01-20 21:08:39 -0500
commit74fb85b826147dded35006e82c100d8806d09b02 (patch)
tree0ff0acbce4cf80078b661ebc7fbcc02fa48331f1 /etc/phpshellsessions
parent48b09198cdee13c644d04a78d54a733370518201 (diff)
downloadpfsense-74fb85b826147dded35006e82c100d8806d09b02.zip
pfsense-74fb85b826147dded35006e82c100d8806d09b02.tar.gz
Remove mainline and HEAD previous checkouts (CVS)
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/cvssync9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 8f36a45..bbf139e 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -25,9 +25,18 @@ if(!file_exists("/usr/local/bin/git")) {
system("chmod a+rx /usr/local/bin/git");
}
+# Remove mainline if exists (older)
if(is_dir("/root/pfsense/mainline"))
exec("rm -rf /root/pfsense/mainline");
+# Remove RELENG_1_2 if exists (older)
+if(is_dir("/root/pfsense/RELENG_1_2"))
+ exec("rm -rf /root/pfsense/RELENG_1_2");
+
+# Remove HEAD if exists (older)
+if(is_dir("/root/pfsense/HEAD"))
+ exec("rm -rf /root/pfsense/HEAD");
+
/* NOTE: Set branches here */
$branches = array(
"master" => "2.0 development branch",
OpenPOWER on IntegriCloud