mirror of
https://github.com/xchwarze/wifi-pineapple-cloner.git
synced 2025-01-22 11:28:59 +00:00
Update dependencies-install
This commit is contained in:
parent
b8636a8b12
commit
d0d41a688a
@ -22,7 +22,10 @@ install_openwrt_deps () {
|
|||||||
if [ ! -f "$FILE" ]; then
|
if [ ! -f "$FILE" ]; then
|
||||||
echo " [+] Downloading imagebuilder..."
|
echo " [+] Downloading imagebuilder..."
|
||||||
TYPE=$(echo $TARGET | sed "s/-/\//g")
|
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
|
fi
|
||||||
|
|
||||||
# install...
|
# install...
|
||||||
@ -30,6 +33,7 @@ install_openwrt_deps () {
|
|||||||
rm -rf "$FOLDER_NAME"
|
rm -rf "$FOLDER_NAME"
|
||||||
tar xJf "$FILE"
|
tar xJf "$FILE"
|
||||||
mv "$ORIGINAL_FOLDER_NAME" "$FOLDER_NAME"
|
mv "$ORIGINAL_FOLDER_NAME" "$FOLDER_NAME"
|
||||||
|
rm xJf "$FILE"
|
||||||
|
|
||||||
# correct opkg feeds
|
# correct opkg feeds
|
||||||
echo " [+] Correct opkg feeds"
|
echo " [+] Correct opkg feeds"
|
||||||
|
Loading…
Reference in New Issue
Block a user