From 9561acbebb36f69d67e354f01f256bb33781c5a5 Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 11 Aug 2024 20:48:51 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/root/docker/setup/05-custom.sh --- rootfs/root/docker/setup/05-custom.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/root/docker/setup/05-custom.sh b/rootfs/root/docker/setup/05-custom.sh index 78b2e3b..201a796 100755 --- a/rootfs/root/docker/setup/05-custom.sh +++ b/rootfs/root/docker/setup/05-custom.sh @@ -31,6 +31,7 @@ PHPMYADMIN_VERSION="${PHPMYADMIN_VERSION:-$(curl -q -LSsf https://api.github.com PHPMYADMIN_DOWNLOAD_URL="https://files.phpmyadmin.net/phpMyAdmin/${PHPMYADMIN_VERSION}/phpMyAdmin-${PHPMYADMIN_VERSION}-all-languages.zip" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Main script +echo "Installing phpmyadmin from $PHPMYADMIN_DOWNLOAD_URL" [ -e "/etc/my.cnf" ] && rm -Rf "/etc/my.cnf" [ -d "$PHPMYADMIN_WWW_ROOT" ] && rm -Rf "$PHPMYADMIN_WWW_ROOT" if curl -q -LSsf "$PHPMYADMIN_DOWNLOAD_URL" -o "/tmp/phpmyadmin.zip"; then @@ -45,6 +46,7 @@ if curl -q -LSsf "$PHPMYADMIN_DOWNLOAD_URL" -o "/tmp/phpmyadmin.zip"; then symlink "/etc/phpmyadmin/config.php" "$PHPMYADMIN_WWW_ROOT/config.inc.php" chown -Rf $WWW_USER "$PHPMYADMIN_WWW_ROOT" find "$PHPMYADMIN_WWW_ROOT" -type -d -exec chmod -f 777 {} \; + echo "phpmyadmin has been installed to $PHPMYADMIN_WWW_ROOT" else echo "Failed to install phpMyAdmin" >&2 exitCode=1