added hooks
This commit is contained in:
parent
6176ec998b
commit
cefd6b2450
2 changed files with 10 additions and 1 deletions
10
.config/yadm/hooks/post_pull
Executable file
10
.config/yadm/hooks/post_pull
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -f "$HOME/.config/task/taskrc" ]; then
|
||||||
|
if [ "$(hostname)" = "dbox" ]; then
|
||||||
|
val="yes"
|
||||||
|
else
|
||||||
|
val="false"
|
||||||
|
fi
|
||||||
|
printf 'recurrence=%s\n' "$val" >>"$HOME/.config/task/taskrc"
|
||||||
|
fi
|
1
.testrc
1
.testrc
|
@ -1 +0,0 @@
|
||||||
U2FsdGVkX19HnSa4CddOz/3RVeVjMgPf4Mt/x8y7dgM=
|
|
Loading…
Add table
Add a link
Reference in a new issue