[Slackbuilds-users] Teamviewer13 duplicate menu entries

Willy Sudiarto Raharjo willysr at slackbuilds.org
Mon Jan 22 00:00:27 UTC 2018


> 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.

Thanks, i have pushed this on my branch


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180122/e4a21ad5/attachment-0001.asc>


More information about the SlackBuilds-users mailing list