From cd194c7e97e27aeb50cf0ed8582ec806f0cea3dd Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 26 Mar 2025 09:18:54 +0100 Subject: [PATCH] feat: New extraction method --- src/install.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/install.sh b/src/install.sh index ca3a054..357365f 100644 --- a/src/install.sh +++ b/src/install.sh @@ -31,12 +31,9 @@ if [ -n "$URL" ]; then fi fi if [[ "${URL,,}" != "http"* ]] && [[ "${URL,,}" != "file:"* ]] ; then - URL="file://$STORAGE/$BASE.pat" - if [ ! -s "$STORAGE/$BASE.pat" ]; then - URL="file:///$BASE.pat" - if [ ! -s "/$BASE.pat" ]; then - error "File '$BASE.pat' does not exist!" && exit 65 - fi + URL="file:///$BASE.pat" + if [ ! -s "/$BASE.pat" ]; then + error "File '$BASE.pat' does not exist!" && exit 65 fi fi fi