network/viber: Fix desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5b9e54fe98
commit
cfa2d6fad6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue