Commit bf6e360b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: load configs from /etc/eepm/conf.d/*.conf too

parent 8b7f1c3f
all: all:
echo "We don't need any build" echo "We don't need any build"
installd_list = pack.d repack.d prescription.d play.d desktop.d installd_list = conf.d pack.d repack.d prescription.d play.d desktop.d
cmd_list = epm serv esu cmd_list = epm serv esu
.PHONY: all clean install check install_common $(installd_list) $(cmd_list) .PHONY: all clean install check install_common $(installd_list) $(cmd_list)
......
...@@ -168,7 +168,9 @@ epm_cachedir=/var/cache/eepm ...@@ -168,7 +168,9 @@ epm_cachedir=/var/cache/eepm
eget_ipfs_db=$epm_vardir/eget-ipfs-db.txt eget_ipfs_db=$epm_vardir/eget-ipfs-db.txt
# load system wide config # load system wide config
[ -f $CONFIGDIR/eepm.conf ] && . $CONFIGDIR/eepm.conf for i in $CONFIGDIR/eepm.conf $CONFIGDIR/conf.d/*.conf ; do
[ -f $CONFIGDIR/$i ] && . $CONFIGDIR/$i
done
case $PROGNAME in case $PROGNAME in
......
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