new scripts and updates
This commit is contained in:
@ -29,8 +29,13 @@ do
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
wget -O latest.zip https://wordpress.org/latest.zip
|
||||
if [ ! -x /usr/bin/curl ] ; then
|
||||
CURL_NOT_EXIST=1
|
||||
apt install -y curl
|
||||
else
|
||||
CURL_NOT_EXIST=0
|
||||
fi
|
||||
curl -fsSL -o "latest.zip" https://wordpress.org/latest.zip
|
||||
apt install unzip -y
|
||||
unzip latest.zip -d $INSTALL_DIR
|
||||
cp -r $INSTALL_DIR/wordpress/* $INSTALL_DIR
|
||||
|
Reference in New Issue
Block a user