Some fixes of previous commit.

This commit is contained in:
Ghislain MARY 2018-03-27 10:46:38 +02:00
parent 9507ce64d2
commit d97e10794a
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ Name=Linphone
GenericName=SIP Phone
Comment=Linphone is a libre SIP client
Type=Application
Exec=@CMAKE_INSTALL_PREFIX@/linphone %u
Exec=@CMAKE_INSTALL_PREFIX@/bin/linphone %u
Icon=linphone
Terminal=false
Categories=Network;Telephony;

View file

@ -59,11 +59,11 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
xdg-icon-resource install --novendor --mode system --context apps %{_datarootdir}/icons/hicolor/scalable/apps/linphone.svg linphone;
xdg-icon-resource install --novendor --mode system --theme hicolor --context apps --size scalable %{_datarootdir}/icons/hicolor/scalable/apps/linphone.svg linphone;
xdg-desktop-menu install --novendor --mode system %{_datarootdir}/applications/linphone.desktop
%postun
xdg-desktop-menu uninstall --mode system linphone.desktop
xdg-desktop-menu uninstall --mode system --theme hicolor --context apps --size scalable linphone.desktop
xdg-icon-resource uninstall --mode system linphone
/sbin/ldconfig