Added more vars for pkgmanager

PKGUC: Clear and update repo cache
PKGUP: Running updates
This commit is contained in:
2020-12-09 11:32:45 +01:00
parent 3179abbb6c
commit 1e09184895
4 changed files with 8 additions and 8 deletions

View File

@@ -100,7 +100,7 @@ fi
##--------------------------##
msg " Starting installer" 8 78
$PKGM update > $OUTPUT 2>&1
$PKGUC > $OUTPUT 2>&1
$PKGI curl > $OUTPUT 2>&1
@@ -134,8 +134,8 @@ fi
msg " Preconfiguring"
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
$PKGM update
$PKGM upgrade -y
$PKGUC
$PKGUP
##-------------------##
@@ -155,7 +155,7 @@ fi
# Installer #
##-------------##
$PKGM update
$PKGUC
sed -i 's/PHPprefix/'$phpPkgName'/g' /tmp/pkg.list
cat /tmp/pkg.list | xargs $PKGI