Commit bca884be authored by Vitaly Lipatov's avatar Vitaly Lipatov

small cleanup

parent da798847
...@@ -106,6 +106,7 @@ pkg_release_check() ...@@ -106,6 +106,7 @@ pkg_release_check()
done done
} }
# TODO: remove for all, use $ rpmreqs instead
# copied from aptU # copied from aptU
get_rpmpkg_requires() get_rpmpkg_requires()
{ {
......
...@@ -72,17 +72,12 @@ export CCACHE_DIR=$OURTMPDIR/ccache ...@@ -72,17 +72,12 @@ export CCACHE_DIR=$OURTMPDIR/ccache
# CCACHE_ENABLE=yes # CCACHE_ENABLE=yes
# load system wide config # load system wide config
test -f /etc/eterbuild/config && . /etc/eterbuild/config [ -f /etc/eterbuild/config ] && . /etc/eterbuild/config
# load user config files # load user config files
if [ -f ~/.config/eterbuild ] ; then if [ -f ~/.config/eterbuild ] ; then
. ~/.config/eterbuild . ~/.config/eterbuild
elif [ -f ~/.eterbuild-config ] ; then elif [ -f ~/.eterbuild-config ] ; then
. ~/.eterbuild-config fatal "./eterbuild-config is obsoleted, use ~/.config/eterbuild instead"
warning "./eterbuild-config is obsoleted, use ~/.config/eterbuild instead"
else
if [ -f ~/.ebconfig ] ; then
fatal "./ebconfig is obsoleted, use ~/.config/eterbuild instead"
fi
fi fi
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