added Requirements and did some cleanup

This commit is contained in:
2020-09-25 14:35:05 +02:00
parent 05c6bbb37d
commit 1e38e4ae9e
2 changed files with 5 additions and 5 deletions

View File

@@ -96,8 +96,8 @@ fi
##--------------------------##
msg "Starting installer." 8 78
$PKGI curl wget > $OUTPUT 2>&1
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash > $OUTPUT 2>&1
$PKGI curl > $OUTPUT 2>&1
##-------------------------##
@@ -114,7 +114,6 @@ fi
##--------------------##
msg "Preconfiguring."
$PKGI software-properties-common gnupg > $OUTPUT 2>&1
$PKGM update
$PKGM upgrade -y

View File

@@ -80,8 +80,10 @@ echo "$1"
##--------------------------##
msg "Starting installer." 8 78
$PKGM update -y > $OUTPUT 2>&1
$PKGI curl > $OUTPUT 2>&1
$PKGI curl wget > $OUTPUT 2>&1
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash > $OUTPUT 2>&1
##-------------------------##
@@ -98,7 +100,6 @@ fi
##--------------------##
msg "Preconfiguring."
$PKGI software-properties-common gnupg > $OUTPUT 2>&1
$PKGM update -y
$PKGM upgrade -y