diff --git a/AppendCMS.sh b/AppendCMS.sh index c23390e..176aab6 100644 --- a/AppendCMS.sh +++ b/AppendCMS.sh @@ -197,7 +197,7 @@ fi # Installer # ##-------------## -$PKGM update +$PKGUC sed -i 's/PHPprefix/'$phpPkgName'/g' /tmp/pkg.list cat /tmp/pkg.list | xargs $PKGI diff --git a/AppendModule.sh b/AppendModule.sh index 87b41d4..455dcd3 100644 --- a/AppendModule.sh +++ b/AppendModule.sh @@ -228,7 +228,7 @@ done # Installer # ##-------------## -$PKGM update +$PKGUC sed -i 's/PHPprefix/'$phpPkgName'/g' /tmp/pkg.list cat /tmp/pkg.list | xargs $PKGI diff --git a/CoreModules/generic/preconf.sh b/CoreModules/generic/preconf.sh index afaadd8..e7379ee 100644 --- a/CoreModules/generic/preconf.sh +++ b/CoreModules/generic/preconf.sh @@ -19,8 +19,8 @@ if [ "$shortdist" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb ##-------------## debconf-set-selections <<< 'libssl1.1:amd64 libraries/restart-without-asking boolean true' - $PKGM update - $PKGM upgrade -y + $PKGUC + $PKGUP ##-------------## diff --git a/Scripts/SMI.sh b/Scripts/SMI.sh index 607c290..ce79f09 100644 --- a/Scripts/SMI.sh +++ b/Scripts/SMI.sh @@ -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