Added branchtype to allow for tags
This commit is contained in:
@@ -34,7 +34,7 @@ fi
|
||||
|
||||
#Restoring config
|
||||
sed -i -e "0,/^#ConfHere/s/\(^#Conf.*\)/#ConfHere1 /" -e "/#ConfHere1/ r /tmp/"$sitename"-config" -e '/#ConfHere/c\' /etc/"$webservice"/sites-available/"$sitename"_ssl"$ext"
|
||||
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/CoreModules/"$webserv"/ssl-handler.sh)
|
||||
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CoreModules/"$webserv"/ssl-handler.sh)
|
||||
|
||||
#Remove script
|
||||
while true; do
|
||||
|
||||
@@ -30,13 +30,13 @@ branch=master
|
||||
|
||||
###Select Module type
|
||||
##Uncomment for CoreModules
|
||||
mtype=""$repo"/raw/branch/"$branch"/CoreModules/"$SMI_ModuleName""
|
||||
mtype=""$repo"/raw/"$branchtype"/"$branch"/CoreModules/"$SMI_ModuleName""
|
||||
##Uncomment for SubModules
|
||||
#mtype=""$repo"/raw/branch/"$branch"/SubModules/"$SMI_ModuleName""
|
||||
#mtype=""$repo"/raw/"$branchtype"/"$branch"/SubModules/"$SMI_ModuleName""
|
||||
##Uncomment for CMS
|
||||
#mtype=""$repo"/raw/branch/"$branch"/CMS/"$SMI_ModuleName""
|
||||
#mtype=""$repo"/raw/"$branchtype"/"$branch"/CMS/"$SMI_ModuleName""
|
||||
##Uncomment for External Module
|
||||
#mtype=""$repo"/raw/branch/"$branch""
|
||||
#mtype=""$repo"/raw/"$branchtype"/"$branch""
|
||||
|
||||
#SelfBuilding Vars
|
||||
PKGI="${PKGM} install -y"
|
||||
|
||||
Reference in New Issue
Block a user