Commit d17c5330 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack Telegram: add telegram-desktop link

parent 73ebc549
......@@ -5,6 +5,7 @@ BUILDROOT="$1"
SPEC="$2"
PRODUCT=Telegram
PRODUCTOPT=telegram-desktop
# /usr/bin/Telegram
subst '1iConflicts:telegram-desktop < 3.2.8' $SPEC
......@@ -24,6 +25,8 @@ subst "s|\"/$ROOTDIR/|\"/opt/$PRODUCT/|" $SPEC
mkdir -p $BUILDROOT/usr/bin/
ln -s /opt/$PRODUCT/Telegram $BUILDROOT/usr/bin/$PRODUCT
subst "s|%files|%files\n/usr/bin/$PRODUCT|" $SPEC
ln -s /opt/$PRODUCT/Telegram $BUILDROOT/usr/bin/$PRODUCTOPT
subst "s|%files|%files\n/usr/bin/$PRODUCTOPT|" $SPEC
# create desktop file
mkdir -p $BUILDROOT/usr/share/applications/
......
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