1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-11 03:59:53 +02:00

enforce file ownership on plugins.local before updating since git is

being picky with permissions
This commit is contained in:
Andrew Dolgov 2022-05-21 19:10:16 +03:00
parent b9ea5108ee
commit 670cf8bb85

View file

@ -50,6 +50,8 @@ done
if [ -z "$TTRSS_NO_STARTUP_PLUGIN_UPDATES" ]; then
echo updating all local plugins...
chown -R $OWNER_UID:$OWNER_GID $DST_DIR/plugins.local
find $DST_DIR/plugins.local -mindepth 1 -maxdepth 1 -type d | while read PLUGIN; do
if [ -d $PLUGIN/.git ]; then
echo updating $PLUGIN...