Added rough versioning system

This commit is contained in:
2021-02-25 11:34:42 +01:00
parent 638a8c1525
commit 1423d72e53
4 changed files with 28 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ fi
repo=https://git.ictmaatwerk.com/VPS-scripts/Web-V2
branch=PostfixTesting
branchtype=branch #=branch for branch and =tag for release
CompatVer=2
#Installer-config
phpver=7.4
PHPMyadmin=1 #Overwriten by cms's without php
@@ -374,7 +375,7 @@ fi
mkdir -p /etc/ICTM/sites
echo "InstDate=$(date "+%d-%B-%Y")" >> /etc/ICTM/mainvar.list
for storeme in PKGM PKGI PKGUC PKGUP PKGLIST OUTPUT IMODE shortdist repo branch branchtype webserv email shortdist hostname; do
for storeme in PKGM PKGI PKGUC PKGUP PKGLIST OUTPUT IMODE shortdist repo branch branchtype webserv email shortdist hostname CompatVer; do
declare -p $storeme | cut -d ' ' -f 3- >> /etc/ICTM/mainvar.list
done