aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-09-28 07:43:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-09-28 07:43:34 -0300
commit4423ea3c480a6a092f843688bc15ee62304885c9 (patch)
tree421e6798a83d87301b3f056448eafddd102073ff
parentf4905b6a4823cf0f4b0b0c34506cf2200e071a5b (diff)
downloadhydra-4423ea3c480a6a092f843688bc15ee62304885c9.tar.gz
hydra-4423ea3c480a6a092f843688bc15ee62304885c9.tar.bz2
Fix: hydractl: sync-media: do not depend on git-extras package
-rwxr-xr-xshare/hydractl/sync-media6
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