Added more vars for pkgmanager
PKGUC: Clear and update repo cache PKGUP: Running updates
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user