This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 2409e5a12c4ade8b05ad03597c341ad978d8eb24
Author: Dominique Dumont <d...@debian.org>
Date:   Fri Jul 8 18:53:48 2016 +0200

    do not try to delete non-existent files
---
 lib/Config/Model/Backend/Dpkg.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Config/Model/Backend/Dpkg.pm b/lib/Config/Model/Backend/Dpkg.pm
index 54834fd..39a45b4 100644
--- a/lib/Config/Model/Backend/Dpkg.pm
+++ b/lib/Config/Model/Backend/Dpkg.pm
@@ -126,7 +126,7 @@ sub write {
             $logger->trace("Dpkg write opening $file to write");
             $file->spew_utf8(@v) ;
         }
-        elsif ($args{auto_delete} and not $skip) {
+        elsif ($args{auto_delete} and $file->is_file and not $skip) {
             warn "deleting $file";
             $file->remove;
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to