From b01c65bd8aa85e4a0f923e54418a149354515713 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sun, 18 Sep 2022 14:01:52 +0500 Subject: [PATCH] Update ld.so.cache when updating Conty ld.so.cache does not get updated automatically for some reason, so update it manually. Otherwise there may be problems with libraries (like https://github.com/Kron4ek/Conty/discussions/55) --- conty-start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conty-start.sh b/conty-start.sh index cf9eb4f..baf6638 100755 --- a/conty-start.sh +++ b/conty-start.sh @@ -12,7 +12,7 @@ if [ $EUID = 0 ] && [ -z "$ALLOW_ROOT" ]; then exit 1 fi -script_version="1.21.1" +script_version="1.21.2" # Full path to the script script_literal="${BASH_SOURCE[0]}" @@ -43,7 +43,7 @@ mount_point="${working_dir}"/mnt # a problem with mounting the image due to an incorrectly calculated offset. # The size of this script -scriptsize=26209 +scriptsize=26238 # The size of the utils archive utilssize=2542302 @@ -487,6 +487,7 @@ fakeroot -- pacman-key --populate chaotic fakeroot -- pacman --noconfirm --overwrite "*" -Su 2>/dev/null fakeroot -- pacman --noconfirm -Runs ${pkgsremove} 2>/dev/null fakeroot -- pacman --noconfirm -S ${pkgsinstall} 2>/dev/null +ldconfig -C /etc/ld.so.cache rm -f /var/cache/pacman/pkg/* pacman -Qn > /pkglist.x86_64.txt pacman -Qm >> /pkglist.x86_64.txt