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