Commit e5067dcb authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/generic-appimage.sh: set PRODUCTCUR (as lowercased PRODUCT) and…

epm repack.d/generic-appimage.sh: set PRODUCTCUR (as lowercased PRODUCT) and create link if they differs
parent a3b5e629
......@@ -91,3 +91,5 @@ add_bin_cdexec_command $PRODUCT $PRODUCTDIR/AppRun
# Strange AppRun script uses args as path, so override path detection
subst "2iexport APPDIR=$PRODUCTDIR" $BUILDROOT/usr/bin/$PRODUCT
PRODUCTCUR="$(echo $PRODUCT | tr "[A-Z_]" "[a-z-]")"
[ "$PRODUCT" = "$PRODUCTCUR" ] || add_bin_link_command $PRODUCTCUR $PRODUCT
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