From 75a46c0edd73e7e771c75d4e2905bd43a5e7d927 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Mon, 17 Jul 2023 01:25:16 +0500 Subject: [PATCH] Fix using the self-update function on non-pacman distros --- conty-start.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conty-start.sh b/conty-start.sh index e60b9ce..ef255a8 100755 --- a/conty-start.sh +++ b/conty-start.sh @@ -31,7 +31,7 @@ script_version="1.24.3" # size to 0 init_size=50000 bash_size=1490760 -script_size=37333 +script_size=37233 busybox_size=1161112 utils_size=4327795 @@ -1007,8 +1007,7 @@ if [ "$(ls "${mount_point}" 2>/dev/null)" ] || launch_wrapper "${mount_command[@ cp -r "${mount_point}"/etc/pacman.d/gnupg "${overlayfs_dir}"/gnupg export -f update_conty run_bwrap --bind "${overlayfs_dir}"/gnupg /etc/pacman.d/gnupg \ - --bind "${overlayfs_dir}"/merged/var/lib/pacman /var/lib/pacman \ - --bind-try "${overlayfs_dir}"/merged/var/cache/pacman /var/cache/pacman \ + --bind "${overlayfs_dir}"/merged/var /var \ bash -c update_conty if [ "${dwarfs_image}" = 1 ]; then