mirror of
https://github.com/linuxserver/docker-piwigo.git
synced 2025-04-23 12:47:05 -04:00
clear legacy cruft
This commit is contained in:
parent
8fca2711d8
commit
d9f6a3c257
2 changed files with 0 additions and 30 deletions
|
@ -1,13 +0,0 @@
|
|||
<VirtualHost *:80>
|
||||
DocumentRoot /config/www/gallery
|
||||
|
||||
<Directory /config/www/gallery/>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride All
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
mkdir -p /config/www/gallery
|
||||
if [ -f "/config/www/gallery/index.php" ]; then
|
||||
echo "using existing website"
|
||||
else
|
||||
echo "fetching piwigo files"
|
||||
wget "http://piwigo.org/download/dlcounter.php?code=latest" -O /tmp/piwigo.zip
|
||||
unzip -q /tmp/piwigo.zip -d /tmp
|
||||
mv /tmp/piwigo/* /config/www/gallery
|
||||
rm -rf /tmp/piwigo /tmp/piwigo.zip
|
||||
chown -R abc:abc /config/www/gallery
|
||||
fi
|
||||
|
||||
if [ ! -f "/config/www/gallery/local/config/config.inc.php" ]; then
|
||||
cp /config/www/gallery/include/config_default.inc.php /config/www/gallery/local/config/config.inc.php
|
||||
chown abc:abc /config/www/gallery/local/config/config.inc.php
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue