summaryrefslogtreecommitdiff
path: root/dh_listpackages
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-04-29 02:23:36 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-04-29 02:23:36 -0400
commit6eca57133ba10e49fdb049920583512a456f6005 (patch)
tree504560fee1cfdf5c1994fdede658c5443053dd6b /dh_listpackages
parent1e711636f4790f51ae10474f93cb740e0399ea57 (diff)
One problem with the log files is that if dh_clean is not the last command run, they will be left behind. This is a particular problem on build daemons that use real root. Especially if cdbs is used, since it runs dh_listpackages after clean, thereby leaving behind log files that only root can touch. Avoid this particular special case by inhibiting logging by dh_listpackages.
Diffstat (limited to 'dh_listpackages')
-rwxr-xr-xdh_listpackages1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_listpackages b/dh_listpackages
index f919ef62..79b664bd 100755
--- a/dh_listpackages
+++ b/dh_listpackages
@@ -23,6 +23,7 @@ act on if passed the same options.
=cut
init();
+inhibit_log();
print join("\n",@{$dh{DOPACKAGES}})."\n";
=head1 SEE ALSO