Commit 25e54fe8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: improve application dir packing

parent 0c5e3491
......@@ -29,6 +29,7 @@ else
subst "s|^\"/|\"$PRODUCTDIR/|" $SPEC
fi
pack_dir $PRODUCTDIR
move_file $PRODUCTDIR/Telegram $PRODUCTDIR/$PRODUCT
add_bin_link_command
......
......@@ -206,6 +206,8 @@ move_to_opt()
subst "s|\(%config.*\) \"$rdir|\1 \"$PRODUCTDIR|" $SPEC
subst "s|^$rdir|$PRODUCTDIR|" $SPEC
subst "s|^\"$rdir|\"$PRODUCTDIR|" $SPEC
pack_dir "$PRODUCTDIR"
}
# remove absolute path from desktop file
......
......@@ -12,6 +12,8 @@ PRODUCTDIR="/opt/Domination/Client"
move_to_opt "/opt/Domination Client"
subst "s|/opt/Domination Client/||" $BUILDROOT/usr/share/applications/domination-client.desktop
pack_dir $PRODUCTDIR
add_bin_link_command
install_deps
......
......@@ -3,6 +3,7 @@
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCTDIR=/opt/mssql
. $(dirname $0)/common.sh
......
......@@ -16,6 +16,7 @@ subst "s|^Summary:.*|Summary: VK Teams|" $SPEC
mkdir -p $BUILDROOT$PRODUCTDIR
mv $BUILDROOT/* $BUILDROOT$PRODUCTDIR
subst "s|\"/|\"$PRODUCTDIR/|" $SPEC
pack_dir $PRODUCTDIR
add_bin_exec_command $PRODUCT
# Hack against https://bugzilla.altlinux.org/43779
......
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