[libconfig-model-dpkg-perl] 01/03: chmod debian/rules file to a+x

dod at debian.org dod at debian.org
Fri Jul 22 12:35:52 UTC 2016


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 8229a01786528fc47efcc22e05258592161fb7de
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Jul 12 13:16:51 2016 +0200

    chmod debian/rules file to a+x
---
 lib/Config/Model/Backend/Dpkg.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Config/Model/Backend/Dpkg.pm b/lib/Config/Model/Backend/Dpkg.pm
index 39a45b4..e95c748 100644
--- a/lib/Config/Model/Backend/Dpkg.pm
+++ b/lib/Config/Model/Backend/Dpkg.pm
@@ -125,6 +125,7 @@ sub write {
         if (@v) {
             $logger->trace("Dpkg write opening $file to write");
             $file->spew_utf8(@v) ;
+            $file->chmod("a+x") if $elt eq 'rules';
         }
         elsif ($args{auto_delete} and $file->is_file and not $skip) {
             warn "deleting $file";

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



More information about the Pkg-perl-cvs-commits mailing list