From 2a2e82154ec584e8f3d1dcd813534421f027fb55 Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:27:45 +0100 Subject: [PATCH] Update NEW-junest.sh - fix "tar" on multiple arguments with the name similar or equal to "$APP" --- NEW-junest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEW-junest.sh b/NEW-junest.sh index ad7ae50..2327900 100644 --- a/NEW-junest.sh +++ b/NEW-junest.sh @@ -293,7 +293,7 @@ _extract_main_package() { pkg_full_path=$(find ./"$APP".AppDir -type f -name "$APP-*zst") else for p in $pkg_full_path; do - if tar "$p" .PKGINFO -O | grep -q "pkgname = $APP$"; then + if tar fx "$p" .PKGINFO -O | grep -q "pkgname = $APP$"; then pkg_full_path="$p" fi done