From 97e74efd1782621c13f2ce50f28197140b093e82 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 1 Oct 2022 19:22:47 +0200 Subject: [PATCH] correction in piwigo --- .../piwigo/manual/image/postinstall/piwigo.sh | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/seed/piwigo/manual/image/postinstall/piwigo.sh b/seed/piwigo/manual/image/postinstall/piwigo.sh index 1005f30..f4f898d 100644 --- a/seed/piwigo/manual/image/postinstall/piwigo.sh +++ b/seed/piwigo/manual/image/postinstall/piwigo.sh @@ -14,10 +14,10 @@ ln -s /etc/piwigo/database.inc.php piwigo/local/config/database.inc.php ln -s /srv/piwigo/data piwigo/_data ln -s /srv/piwigo/upload piwigo/upload ln -s /srv/piwigo/logs piwigo/logs -cp $OLDPWD/piwigo/manual/postinstall/osmmap.php piwigo/ +cp $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/osmmap.php piwigo/ chmod 644 piwigo/osmmap.php -patch -p0 < $OLDPWD/piwigo/manual/postinstall/piwigo.patch -cp $OLDPWD/piwigo/manual/postinstall/piwigo_cli.php piwigo/ +patch -p0 < $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/piwigo.patch +cp $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/piwigo_cli.php piwigo/ # Plugins cd piwigo/plugins wget https://piwigo.org/ext/download.php?rid=7848 -O plugin.zip @@ -42,16 +42,16 @@ wget https://piwigo.org/ext/download.php?rid=8160 -O plugin.zip unzip plugin.zip rm -f plugin.zip echo """ """ >> community/language/fr_FR/plugin.lang.php # embedded