Commit 55e7c283 authored by Vitaly Lipatov's avatar Vitaly Lipatov

yum: improve include config

parent b8c923db
...@@ -25,9 +25,11 @@ if [ "$0" = "/dev/stdin" ] || [ "$0" = "sh" ] ; then ...@@ -25,9 +25,11 @@ 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()
{ {
...@@ -101,7 +103,7 @@ pkg_urls= ...@@ -101,7 +103,7 @@ pkg_urls=
quoted_args= quoted_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
check_command() check_command()
......
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