Commit 43340341 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: use CONFIGDIR and use etc/ as CONFIGDIR in git

parent 268b2bb6
...@@ -26,9 +26,10 @@ if [ "$0" = "/dev/stdin" ] || [ "$0" = "sh" ] ; then ...@@ -26,9 +26,10 @@ if [ "$0" = "/dev/stdin" ] || [ "$0" = "sh" ] ; then
PROGNAME="" PROGNAME=""
fi fi
# will replaced to /usr/share/eepm during install # will replaced with /usr/share/eepm during install
SHAREDIR=$PROGDIR SHAREDIR=$PROGDIR
CONFIGDIR=$PROGDIR/.. # will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc
load_helper() load_helper()
{ {
...@@ -111,7 +112,7 @@ quoted_args= ...@@ -111,7 +112,7 @@ quoted_args=
direct_args= direct_args=
# load system wide config # load system wide config
[ -f /etc/eepm/eepm.conf ] && . /etc/eepm/eepm.conf [ -f $CONFIGDIR/eepm.conf ] && . $CONFIGDIR/eepm.conf
case $PROGNAME in case $PROGNAME in
......
../play.d
\ No newline at end of file
../prescription.d
\ No newline at end of file
../repack.d
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment