[Slackbuilds-users] Teamviewer13 duplicate menu entries
King Beowulf
kingbeowulf at gmail.com
Sun Jan 21 20:35:24 UTC 2018
Willy,
When you unpack the deb archive, a desktop entry already exists as a
symlink that gets recreated in doinst.sh.
-------------
ls -l /usr/share/applications/ |grep teamviewer
lrwxrwxrwx 1 root root 64 Jan 15 16:22
com.teamviewer.TeamViewer.desktop ->
/opt/teamviewer/tv_bin/desktop/com.teamviewer.TeamViewer.desktop
-rw-r--r-- 1 root root 208 Jan 15 16:21 teamviewer.desktop
-------------
Thus, the stanza in the script:
-------------
# Make a .desktop file
mkdir -p $PKG/usr/share/applications
cat $PKG/opt/teamviewer/tv_bin/desktop/com.teamviewer.TeamViewer.desktop \
| sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \
> $PKG/usr/share/applications/teamviewer.desktop
---------
is redundant. Also the 'sed' seems a leftover since there is nothing to
replace.
-Ed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180121/3608b57b/attachment.asc>
More information about the SlackBuilds-users
mailing list