mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-20 11:36:06 +00:00
fix(script): stop running full system upgrades via pacman -Syu on Arch
Installing or updating the panel on Arch/Manjaro/Parch performed a full system upgrade (pacman -Syu) instead of only refreshing the package database and installing the needed packages, unlike every other distro branch (apt-get update, dnf makecache, zypper refresh, apk update). Unrequested full upgrades can pull in kernel and system updates the user never asked for. Align all pacman calls on the -Sy --noconfirm form already used elsewhere in these scripts. Closes #5810
This commit is contained in:
@@ -193,7 +193,7 @@ install_base() {
|
||||
fi
|
||||
;;
|
||||
arch | manjaro | parch)
|
||||
pacman -Syu > /dev/null 2>&1 && pacman -Syu --noconfirm cronie curl tar tzdata socat openssl > /dev/null 2>&1
|
||||
pacman -Sy --noconfirm cronie curl tar tzdata socat openssl > /dev/null 2>&1
|
||||
;;
|
||||
opensuse-tumbleweed | opensuse-leap)
|
||||
zypper refresh > /dev/null 2>&1 && zypper -q install -y cron curl tar timezone socat openssl > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user