add better WP installations; small fixes
This commit is contained in:
@@ -435,10 +435,10 @@ if [ "$ACTION" == "installwp" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Downloading wordpress
|
# Downloading wordpress
|
||||||
wget https://wordpress.org/latest.tar.gz
|
wget $WPDL
|
||||||
tar xfz latest.tar.gz
|
unzip $(basename $WPDL)
|
||||||
mv wordpress/* $WEBDIR
|
mv wordpress/* $WEBDIR
|
||||||
rm -r wordpress latest.tar.gz
|
rm -r wordpress $(basename $WPDL)
|
||||||
|
|
||||||
# Downloading wp-cli
|
# Downloading wp-cli
|
||||||
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
SYSUSER=$(whoami)
|
SYSUSER=$(whoami)
|
||||||
DOMAIN=panel.domain.tld
|
DOMAIN=panel.domain.tld
|
||||||
|
WPDL=https://de.wordpress.org/latest-de_DE.zip
|
||||||
|
|
||||||
# Email stuff
|
# Email stuff
|
||||||
TOEMAIL=user@domain.tld
|
TOEMAIL=user@domain.tld
|
||||||
|
|||||||
Reference in New Issue
Block a user