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
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user