[libconfig-model-tkui-perl] 04/07: add patch to set home to tmp in buildd

dod at debian.org dod at debian.org
Thu Aug 24 17:10:32 UTC 2017


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

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

commit 781b2bc962688ca507bc08a8cc81b137e603ee5e
Author: Dominique Dumont <dod at debian.org>
Date:   Wed Aug 23 14:00:54 2017 +0200

    add patch to set home to tmp in buildd
---
 debian/patches/fix-home-dir-of-buildd | 16 ++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/fix-home-dir-of-buildd b/debian/patches/fix-home-dir-of-buildd
new file mode 100644
index 0000000..f568001
--- /dev/null
+++ b/debian/patches/fix-home-dir-of-buildd
@@ -0,0 +1,16 @@
+Description: Fix home dir of buildd
+ Use /tmp as home dir when user (i.e buildd) has no home dir,
+Author: dod
+Applied-Upstream: soon
+--- a/lib/Config/Model/TkUI.pm
++++ b/lib/Config/Model/TkUI.pm
+@@ -91,7 +91,8 @@
+ };
+ 
+ my $main_window;
+-my $config_path = path(File::HomeDir->my_home)->child('.cme/config/');
++my $home_str = File::HomeDir->my_home || '/tmp/';
++my $config_path = path($home_str)->child('.cme/config/');
+ my $config_file = $config_path->child('tkui.yml');
+ 
+ $config_path -> mkpath;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..974612c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-home-dir-of-buildd

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



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