Only search /etc for pac(new|save)

This commit is contained in:
flyingscorpio@arch-desktop 2020-12-03 19:31:03 +01:00
parent ced8b15b50
commit 7f1d97415e

View file

@ -8,4 +8,4 @@ Target = *
[Action]
Description = Looking for pacnew and pacsave files...
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/find / -regextype posix-extended -regex ".+\.pac(new|save)" 2>/dev/null; echo "Done"'
Exec = /bin/sh -c '/usr/bin/find /etc -regextype posix-extended -regex ".+\.pac(new|save)" 2>/dev/null; echo "Done"'