Commit 5058fcb0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: fix duplicate links add_bin_commands

parent 469a2b7a
......@@ -82,7 +82,7 @@ install_deps()
# FIXME: too many heruistic due https://bugzilla.altlinux.org/42189
add_bin_commands()
{
mkdir -p $BUILDROOT/usr/bin
mkdir -p $BUILDROOT/usr/bin/
if [ -L $BUILDROOT/usr/bin/$PRODUCTCUR ] ; then
rm -fv $BUILDROOT/usr/bin/$PRODUCTCUR
......@@ -103,6 +103,6 @@ add_bin_commands()
fi
# short command for run
add_bin_link_command $PRODUCT $PRODUCTCUR
[ "$PRODUCT" = "$PRODUCTDIR" ] || add_bin_link_command $PRODUCT $PRODUCTCUR
}
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