refresh-pkg-updates.hook: fix me ape

This commit is contained in:
Viyurz 2024-10-22 11:01:33 +02:00
parent bc8c84b214
commit 10ebb0740d
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -7,4 +7,4 @@ Target = *
[Action] [Action]
When = PostTransaction When = PostTransaction
Exec = /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh Exec = /bin/sh -c '! /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh'