Commit 0b76b8ae authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/common.sh: add to move_to_opt checking in /usr/lib too

parent 6518f683
......@@ -78,7 +78,10 @@ EOF
move_to_opt()
{
local from="$@"
[ -n "$from" ] || from="/usr/share/$PRODUCT"
if [ -z "$from" ] ; then
from="/usr/share/$PRODUCT"
[ -d "$BUILDROOT$from" ] || from="/usr/lib/$PRODUCT"
fi
mkdir -p $BUILDROOT$PRODUCTDIR/
local sdir rdir i
......
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