1
0

🏗️」 wip: Need to fix fileEnv func to rm newline at the env

This commit is contained in:
keyzox
2025-03-05 20:17:37 +01:00
parent 834468e1bd
commit 055ccdc1df
6 changed files with 22 additions and 15 deletions

View File

@ -1,14 +1,14 @@
#!/bin/sh
WP_DIR="/var/www/wordpress"
#WP_VERSION="6.7.2"
WP_VERSION="6.7.2"
#if [ -f "$WP_DIR/index.php" ]; then
# echo "Already downloaded wordpress, skipping..."
#else
# echo "Downloading Wordpress ${WP_VERSION}"
# wp --allow-root core download --version=${WP_VERSION} --path=${WP_DIR}
#fi
if [ -f "$WP_DIR/index.php" ]; then
echo "Already downloaded wordpress, skipping..."
else
echo "Downloading Wordpress ${WP_VERSION}"
wp --allow-root core download --version=${WP_VERSION} --path=${WP_DIR}
fi
if [ -f "${WP_DIR}/wp-config.php" ]; then