From c016e7b5ab6d065ed66f22f7fd5b2b77875bb2b5 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Sun, 15 Sep 2019 23:12:43 +0200 Subject: [PATCH] Update 'Vars.md' --- Vars.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) 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"