mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove mainline and HEAD previous checkouts (CVS)
This commit is contained in:
parent
e3089bf0d8
commit
155657f950
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user