From 855386baa7a2d2d641401ce914023504a75f28c2 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Sat, 15 Jun 2024 21:23:08 +0300 Subject: [PATCH] update scripts --- common-funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common-funcs.sh b/common-funcs.sh index 17932b5..21b7ec2 100644 --- a/common-funcs.sh +++ b/common-funcs.sh @@ -43,8 +43,8 @@ find_requires_ALT(){ while read -r line do if [ ! -f "$line" ] && [ "$line" != "livecd-creator" ]; then - line_chroot="$(chroot /mnt/rosa-2016.1 /usr/bin/which "$line")" - req_list="${req_list} $(chroot /mnt/rosa-2016.1 /bin/sh -c "rpm -qf --queryformat='%{NAME}\n' ${line_chroot}")" + line_chroot="$(chroot /media/disk/rosa-2016.1 /usr/bin/which "$line")" + req_list="${req_list} $(chroot /media/disk/rosa-2016.1 /bin/sh -c "rpm -qf --queryformat='%{NAME}\n' ${line_chroot}")" fi done < <(bash --rpm-requires "$file" | grep ^executable | awk -F '(' '{print $NF}' | tr -d '()' | grep -v '^\/' | sort -u) done