mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
only download kareha-zip file when it is not available
This commit is contained in:
parent
6f747bf6e4
commit
533f61d827
|
@ -90,12 +90,15 @@ if [ $2 = 'imageboard' ] ; then
|
|||
exit 0;
|
||||
fi
|
||||
|
||||
echo " Wgetting kareha-zip file "
|
||||
|
||||
cd $PIRATEBOX_FOLDER/tmp
|
||||
KAREHA_RELEASE=kareha_3.1.4.zip
|
||||
wget http://wakaba.c3.cx/releases/$KAREHA_RELEASE
|
||||
if [ "$?" != "0" ] ; then
|
||||
echo "wget kareha failed.. you can place the current file your to $PIRATEBOX_FOLDER/tmp "
|
||||
if [ ! -e $PIRATEBOX_FOLDER/tmp/$KAREHA_RELEASE ] ; then
|
||||
echo " Wgetting kareha-zip file "
|
||||
wget http://wakaba.c3.cx/releases/$KAREHA_RELEASE
|
||||
if [ "$?" != "0" ] ; then
|
||||
echo "wget kareha failed.. you can place the current file your to $PIRATEBOX_FOLDER/tmp "
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e $PIRATEBOX_FOLDER/tmp/$KAREHA_RELEASE ] ; then
|
||||
|
|
Loading…
Reference in a new issue