mirror of
https://github.com/linuxserver/docker-lychee.git
synced 2026-02-05 10:59:42 +08:00
Update 40-config
This commit is contained in:
parent
c3a5067c9f
commit
ded0e4dde5
@ -5,11 +5,13 @@
|
||||
ln -s /usr/share/webapps/lychee /var/www/localhost/lychee
|
||||
|
||||
[[ ! -e /config/lychee/data ]]
|
||||
cp -r /usr/share/webapps/lychee/data /config/lychee/data
|
||||
mkdir -p /lychee/data && \
|
||||
cp -r /usr/share/webapps/lychee/data /config/lychee/data && \
|
||||
rm -rf /usr/share/webapps/lychee/data
|
||||
|
||||
[[ ! -e /config/lychee/uploads ]]
|
||||
cp -r /usr/share/webapps/lychee/uploads /config/lychee/uploads
|
||||
mkdir -p /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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user