diff --git a/seed/piwigo/manual/image/postinstall/piwigo.sh b/seed/piwigo/manual/image/postinstall/piwigo.sh index 1005f301..f4f898df 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