From ced8b15b502d93de2030f600220353744d2d817e Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Thu, 3 Dec 2020 17:40:13 +0100 Subject: [PATCH] Command was failing --- pacman_hooks/pacdiff.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacman_hooks/pacdiff.hook b/pacman_hooks/pacdiff.hook index 4e896ab..265420a 100644 --- a/pacman_hooks/pacdiff.hook +++ b/pacman_hooks/pacdiff.hook @@ -8,4 +8,4 @@ Target = * [Action] Description = Looking for pacnew and pacsave files... When = PostTransaction -Exec = find / -regextype posix-extended -regex ".+\.pac(new|save)" 2> /dev/null && echo 'You should run pacdiff now' +Exec = /bin/sh -c '/usr/bin/find / -regextype posix-extended -regex ".+\.pac(new|save)" 2>/dev/null; echo "Done"'