diff --git a/Vars.md b/Vars.md index dda265f..bb1fed9 100644 --- a/Vars.md +++ b/Vars.md @@ -1,7 +1,25 @@ # Standard variable definition +## Git-Repo + +### repo: defines repo where the script is pulling from +Options +``` +repo=https://git.ictmaatwerk.com/VPS-scripts/ +``` + + +### branch: defines branch where the script is pulling from (requires repo to be set) +Options +``` +branch= +``` +Usage +``` +wget -t7 "$repo"/raw/branch/"$branch"/installer.sh +``` ## Package manager -###PKGM: defines package manager +### PKGM: defines package manager Options ``` PKGM="apt" #Normal view @@ -13,7 +31,7 @@ As replacement for package manager command (example: apt) Defining pakage manager for use in other Vars ``` -###PKGI: defines command to install command (requires PKGM to be set) +### PKGI: defines command to install command (requires PKGM to be set) Options ``` PKGI="${PKGM} install -y"