install: conditionally add syncplay to desktop

This commit is contained in:
Aminda Suomalainen 2026-01-17 11:21:37 +02:00
parent 0339795d01
commit 54c269663c
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -455,6 +455,9 @@ else
if [ -f "/usr/bin/librewolf" ]; then if [ -f "/usr/bin/librewolf" ]; then
ln -nsfv /usr/local/share/applications/libreawoo.desktop $DESKTOP/ ln -nsfv /usr/local/share/applications/libreawoo.desktop $DESKTOP/
fi fi
if [[ -f $HOME/.local/share/icons/hicolor/128x128/apps/syncplay.png && -f /usr/local/bin/syncplay ]]; then
ln -nsfv /usr/local/share/applications/a-syncplay.desktop $DESKTOP
fi
if hash plasma-discover 2> /dev/null; then if hash plasma-discover 2> /dev/null; then
ln -nsfv /usr/local/share/applications/plasma-update.desktop $DESKTOP/ ln -nsfv /usr/local/share/applications/plasma-update.desktop $DESKTOP/
fi fi