add better WP installations; small fixes

This commit is contained in:
2015-12-06 22:25:34 +01:00
parent c4b3f72b86
commit 6d342f3941
2 changed files with 4 additions and 3 deletions

View File

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

View File

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