diff options
Diffstat (limited to 'scripts/apatch.in')
-rwxr-xr-x | scripts/apatch.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/apatch.in b/scripts/apatch.in index ad64104..54efa81 100755 --- a/scripts/apatch.in +++ b/scripts/apatch.in @@ -103,7 +103,12 @@ apatch() else touch .pc/$patch~refresh fi - touch .pc/$patch/.timestamp + + if [ -e ".pc/$patch" ] + then + touch .pc/$patch/.timestamp + fi + if [ "$(shopt -s nullglob ; echo .pc/$patch/*)" = "" ] then echo $"Patch $patch appears to be empty, applied" |