Update 99-run.sh

This commit is contained in:
Alexandre
2022-09-14 21:06:55 +02:00
committed by GitHub
parent 57f24d7d23
commit ff7f328e84

View File

@@ -62,7 +62,7 @@ rm -r /opt/seafile/media
echo "... correcting official script"
sed -i "s|/shared|$DATA_LOCATION|g" /docker_entrypoint.sh
sed -i "s|/shared|$DATA_LOCATION|g" /home/seafile/*.sh
#sed -i "s|cp -r ./media /shared/|true|g" /home/seafile/*.sh
sed -i "s|cp -r ./media $DATA_LOCATION/|cp -r ./media/. $DATA_LOCATION/media|g" /home/seafile/*.sh
###################
# Define database #