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

being picky with permissions
pull/5/head
Andrew Dolgov 2 years ago
parent b9ea5108ee
commit 670cf8bb85

@ -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...

Loading…
Cancel
Save