diff options
author | dancer <dancer> | 2003-11-16 07:08:54 +0000 |
---|---|---|
committer | dancer <dancer> | 2003-11-16 07:08:54 +0000 |
commit | 3f601af76ce4c2f3dc0bfa3036f94e0ab26a02af (patch) | |
tree | 34a35a367ea983e0515f15a3aa17f5fcbcebce00 /pbuilder-runhooks | |
parent | bf611974b0e89648cc1933bed42b172e412032a9 (diff) | |
download | pbuilder-3f601af76ce4c2f3dc0bfa3036f94e0ab26a02af.tar pbuilder-3f601af76ce4c2f3dc0bfa3036f94e0ab26a02af.tar.gz |
+ * THANKS: add
+
+ * pbuilder-runhooks: fix warning messages to be more correct, thanks
+ to Daniel Martin.
+
Diffstat (limited to 'pbuilder-runhooks')
-rw-r--r-- | pbuilder-runhooks | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pbuilder-runhooks b/pbuilder-runhooks index e6e662e..ee1e9c3 100644 --- a/pbuilder-runhooks +++ b/pbuilder-runhooks @@ -18,6 +18,13 @@ # # HISTORY: # $Log$ +# Revision 1.16 2003/11/16 07:08:54 dancer +# + * THANKS: add +# + +# + * pbuilder-runhooks: fix warning messages to be more correct, thanks +# + to Daniel Martin. +# + +# # Revision 1.15 2003/03/10 10:02:11 dancer # +2003-03-10 Junichi Uekawa <dancer@debian.org> # + @@ -159,8 +166,12 @@ function executehooks () { $CHROOTEXEC "$hooks/"$(basename "$fn") echo " -> user script $fn finished" else - filetype=$(basename "$fn" ) - echo "W: execute priv not set on file $filetype, not executing." + if [ -f "$fn" ]; then + filetype=$(basename "$fn" ) + echo "W: execute priv not set on file $filetype, not executing." + else + echo "W: no hooks of type ${prefix} found" + fi fi ;; esac |