Update zenphoto-install.sh

This commit is contained in:
tschettervictor
2024-09-15 14:21:44 -06:00
committed by GitHub
parent a7adb366b8
commit 0bc64cf548

View File

@@ -60,7 +60,7 @@ tar xjf /tmp/"${FILE}" -C /tmp/
if [ "${REINSTALL}" == "true" ]; then
rm -R /usr/local/www/zenphoto/zp-core
cp -R -f /tmp/zenphoto-"${ZP_VERSION}"/zp-core /usr/local/www/zenphoto/
mv -R /usr/local/www/zenphoto/themes /usr/local/www/zenphoto/themes.bak
cp -R /usr/local/www/zenphoto/themes /usr/local/www/zenphoto/themes.bak
rm -R /usr/local/www/zenphoto/themes
cp -R -f /tmp/zenphoto-"${ZP_VERSION}"/themes /usr/local/www/zenphoto/themes
cp -f /tmp/zenphoto-"${ZP_VERSION}"/index.php /usr/local/www/zenphoto/index.php