diff options
-rwxr-xr-x | share/hydractl/sync-media | 6 |
1 files changed, 5 insertions, 1 deletions
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 |