network/viber: Fix desktop file.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-12-10 02:23:54 +07:00 committed by Willy Sudiarto Raharjo
parent 5b9e54fe98
commit cfa2d6fad6
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
PRGNAM=viber
VERSION=${VERSION:-4.2.2.6}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
case "$(uname -m)" in
@ -51,7 +51,7 @@ ar p $CWD/${PRGNAM}.deb data.tar.gz | gunzip | tar xv
mv $PKG/opt/viber/* $PKG/usr/share/viber
rm -r $PKG/opt
# Fix desktop launcher
sed -i -e 's/\/opt\/viber/\/usr\/bin\/viber/' $PKG/usr/share/applications/viber.desktop
sed -i 's/\/opt\/viber\/Viber/\/usr\/bin\/viber/' $PKG/usr/share/applications/viber.desktop
#
# Make a shell launcher