Ignore updating fakeroot when updating Conty

Since it may cause the update process to hang.

#165
This commit is contained in:
Kron4ek 2024-08-24 12:55:01 +03:00 committed by GitHub
parent 23f26b94bb
commit 00e4a161e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ if (( EUID == 0 )) && [ -z "$ALLOW_ROOT" ]; then
fi fi
# Conty version # Conty version
script_version="1.26.1" script_version="1.26.2"
# Important variables to manually adjust after modification! # Important variables to manually adjust after modification!
# Needed to avoid problems with mounting due to an incorrect offset. # Needed to avoid problems with mounting due to an incorrect offset.
@ -30,10 +30,10 @@ script_version="1.26.1"
# If you build Conty without some of the components, you can set their # If you build Conty without some of the components, you can set their
# size to 0 # size to 0
init_size=50000 init_size=50000
bash_size=1490760 bash_size=1752808
script_size=37478 script_size=38502
busybox_size=1161112 busybox_size=1181592
utils_size=4327795 utils_size=4392469
# Full path to the script # Full path to the script
if [ -n "${BASH_SOURCE[0]}" ]; then if [ -n "${BASH_SOURCE[0]}" ]; then
@ -432,7 +432,7 @@ update_conty () {
echo "keyserver hkps://keyserver.ubuntu.com" >> /etc/pacman.d/gnupg/gpg.conf echo "keyserver hkps://keyserver.ubuntu.com" >> /etc/pacman.d/gnupg/gpg.conf
fakeroot -- pacman-key --populate archlinux fakeroot -- pacman-key --populate archlinux
fakeroot -- pacman-key --populate chaotic fakeroot -- pacman-key --populate chaotic
fakeroot -- pacman --noconfirm --overwrite "*" -Su 2>/dev/null fakeroot -- pacman --noconfirm --overwrite "*" --ignore fakeroot -Su 2>/dev/null
fakeroot -- pacman --noconfirm -Runs ${pkgsremove} 2>/dev/null fakeroot -- pacman --noconfirm -Runs ${pkgsremove} 2>/dev/null
fakeroot -- pacman --noconfirm -S ${pkgsinstall} 2>/dev/null fakeroot -- pacman --noconfirm -S ${pkgsinstall} 2>/dev/null
ldconfig -C /etc/ld.so.cache ldconfig -C /etc/ld.so.cache