Update 40-config

This commit is contained in:
Neil 2017-01-27 18:23:11 +00:00 committed by GitHub
parent 1aeb7303ee
commit c3a5067c9f

View File

@ -5,11 +5,11 @@
ln -s /usr/share/webapps/lychee /var/www/localhost/lychee
[[ ! -e /config/lychee/data ]]
cp /usr/share/webapps/lychee/data /config/lychee/data
cp -r /usr/share/webapps/lychee/data /config/lychee/data
rm -rf /usr/share/webapps/lychee/data
[[ ! -e /config/lychee/uploads ]]
cp /usr/share/webapps/lychee/uploads /config/lychee/uploads
cp -r /usr/share/webapps/lychee/uploads /config/lychee/uploads
rm -rf /usr/share/webapps/lychee/uploads
ln -s /user/share/webapps/lychee/data /config/lychee/data