new scripts and updates

This commit is contained in:
2023-08-04 01:06:24 -07:00
parent b2306b5b97
commit 50190c9996
13 changed files with 311 additions and 47 deletions

View File

@ -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