From: Silvio Rhatto Date: Sun, 28 Sep 2025 10:43:34 +0000 (-0300) Subject: Fix: hydractl: sync-media: do not depend on git-extras package X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4423ea3c480a6a092f843688bc15ee62304885c9;p=hydra.git Fix: hydractl: sync-media: do not depend on git-extras package --- diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index 14eb1a6..2373413 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -62,7 +62,11 @@ function sync_media_check_lockfile { local pid process if [ ! -e ".gitignore" ] || ! grep -q "$LOCK" .gitignore; then - git ignore $LOCK + # With git-ignore from git-extras package + #git ignore $LOCK + + # Without git-ignore from git-extras package + echo "$LOCK" >> .gitignore fi if [ ! -z "$LOCKFILE" ] && [ -f "$LOCKFILE" ]; then