mirror of
https://github.com/xchwarze/wifi-pineapple-cloner.git
synced 2025-01-22 11:28:59 +00:00
Update builder.sh
This commit is contained in:
parent
43d6d9d48c
commit
16afa32f57
@ -87,7 +87,7 @@ prepare_builder () {
|
|||||||
for TARGET in ${FORCE_PACKAGES[@]}; do
|
for TARGET in ${FORCE_PACKAGES[@]}; do
|
||||||
PACKAGE_IPK="${TARGET}_${PACKAGES_ARQ}.ipk"
|
PACKAGE_IPK="${TARGET}_${PACKAGES_ARQ}.ipk"
|
||||||
PACKAGE_PATH="$IMAGEBUILDER_FOLDER/packages/$PACKAGE_IPK"
|
PACKAGE_PATH="$IMAGEBUILDER_FOLDER/packages/$PACKAGE_IPK"
|
||||||
if [ ! -f "$PACKAGE_PATH" ]; then
|
if [ ! -f "$PACKAGE_PATH" ] || [ ! -s "$PACKAGE_PATH" ]; then
|
||||||
echo " [+] Install: $TARGET"
|
echo " [+] Install: $TARGET"
|
||||||
wget -q "$DOWNLOAD_BASE_URL/$PACKAGES_ARQ/$PACKAGE_IPK" -O "$PACKAGE_PATH"
|
wget -q "$DOWNLOAD_BASE_URL/$PACKAGES_ARQ/$PACKAGE_IPK" -O "$PACKAGE_PATH"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user