[med-svn] [aghermann] 05/31: fix system profile path (to include {usr/share}/aghermann/)

andrei zavada hmmr-guest at alioth.debian.org
Sun Nov 10 00:34:15 UTC 2013


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

hmmr-guest pushed a commit to branch WIP
in repository aghermann.

commit 9d6fce65c8c16c787bd089e9000f12e849a99d76
Author: andrei zavada <hmmr at fa2>
Date:   Fri Nov 8 19:36:33 2013 +0200

    fix system profile path (to include {usr/share}/aghermann/)
---
 upstream/src/aghermann/expdesign/dirlevel.cc  |    2 +-
 upstream/src/aghermann/expdesign/expdesign.cc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/upstream/src/aghermann/expdesign/dirlevel.cc b/upstream/src/aghermann/expdesign/dirlevel.cc
index 690fcf1..79ddc63 100644
--- a/upstream/src/aghermann/expdesign/dirlevel.cc
+++ b/upstream/src/aghermann/expdesign/dirlevel.cc
@@ -94,7 +94,7 @@ path() const
                 return move(str::sasprintf( "%s/.local/share/aghermann%s", getenv("HOME"), append.c_str()));
 
         case TExpDirLevel::system:
-                return move(str::sasprintf( "%s/%s", PACKAGE_DATADIR, append.c_str()));
+                return move(str::sasprintf( "%s/aghermann/%s", PACKAGE_DATADIR, append.c_str()));
         }
 
         throw invalid_argument ("bad TExpDirLevel");
diff --git a/upstream/src/aghermann/expdesign/expdesign.cc b/upstream/src/aghermann/expdesign/expdesign.cc
index 32cf887..4e9617d 100644
--- a/upstream/src/aghermann/expdesign/expdesign.cc
+++ b/upstream/src/aghermann/expdesign/expdesign.cc
@@ -217,7 +217,7 @@ make_dirname( TExpDirLevel level, const SExpDirLevelId& level_id) const
                 return move(str::sasprintf( "%s/.local/share/aghermann", getenv("HOME")));
 
         case TExpDirLevel::system:
-                return PACKAGE_DATADIR "/patterns";
+                return PACKAGE_DATADIR "/aghermann/";
 
         default:
                 throw invalid_argument ("level not appropriate");

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list