mirror of
https://git.cloudron.io/cloudron/freshrss-app
synced 2025-12-14 02:03:13 +00:00
9
start.sh
9
start.sh
@@ -25,13 +25,12 @@ rm -f /app/data/users/_/log_api.txt
|
||||
touch /tmp/log_api.txt
|
||||
ln -s /tmp/log_api.txt /app/data/users/_/log_api.txt
|
||||
|
||||
|
||||
echo "Symlinking packaged extensions"
|
||||
# We have to copy instead of symlinking extensions (see #2)
|
||||
echo "Copying packaged extensions"
|
||||
mkdir -p /app/data/extensions
|
||||
for f in $(ls /app/code/extensions-orig); do
|
||||
if ! [ -e "/app/data/extensions/$f" ]; then
|
||||
ln -s "/app/code/extensions-orig/$f" "/app/data/extensions/$f"
|
||||
fi
|
||||
rm -rf "/app/data/extensions/$f"
|
||||
cp -r "/app/code/extensions-orig/$f" "/app/data/extensions"
|
||||
done
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user