From d0d41a688ab412a0e2f9dc6cd453b40e840ca2e5 Mon Sep 17 00:00:00 2001 From: DSR! Date: Fri, 10 Nov 2023 18:02:46 -0300 Subject: [PATCH] Update dependencies-install --- tools/dependencies-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/dependencies-install.sh b/tools/dependencies-install.sh index bf5e5ef..1bb68ca 100755 --- a/tools/dependencies-install.sh +++ b/tools/dependencies-install.sh @@ -22,7 +22,10 @@ install_openwrt_deps () { if [ ! -f "$FILE" ]; then echo " [+] Downloading imagebuilder..." TYPE=$(echo $TARGET | sed "s/-/\//g") - wget -q "$OPENWRT_BASE_URL/$TYPE/$ORIGINAL_FOLDER_NAME.tar.xz" -O "$FILE" + URL="$OPENWRT_BASE_URL/$TYPE/$ORIGINAL_FOLDER_NAME.tar.xz" + + echo " $URL" + wget -q "$URL" -O "$FILE" fi # install... @@ -30,6 +33,7 @@ install_openwrt_deps () { rm -rf "$FOLDER_NAME" tar xJf "$FILE" mv "$ORIGINAL_FOLDER_NAME" "$FOLDER_NAME" + rm xJf "$FILE" # correct opkg feeds echo " [+] Correct opkg feeds"