Commit 3961a606 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix epm using

parent 2aa75f69
......@@ -133,7 +133,7 @@ echog "Prepare hasher in $HASHERDIR ..."
UTILPKG="mc"
# GNOME program needs dbus-tools-gui
if rpm --requires -p $LISTNAMES 2>/dev/null | grep -q dbus ; then
if epm requires $LISTNAMES 2>/dev/null | grep -q dbus ; then
echo "dbus using detected, add dbus-tools-gui"
UTILPKG="$UTILPKG dbus-tools-gui"
fi
......
......@@ -237,7 +237,7 @@ fi
if [ -n "$INSTALLBINARY" ] ; then
# pack by LISTNAMES list
pack_src_rpm --commit $LISTRPMARGS
epm install $($ETERBUILDBIN/rpmreqs -p $LISTBUILT)
epm install --skip-installed $($ETERBUILDBIN/rpmreqs -p $LISTBUILT)
exit
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