mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-21 10:27:53 +01:00
install: be more selective on desktop entries to install
This commit is contained in:
parent
be55d68f7a
commit
7de1704dd6
16
install
16
install
@ -183,7 +183,21 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
|
|
||||||
# Desktop entries
|
# Desktop entries
|
||||||
mkdir -vp /usr/local/share/applications/
|
mkdir -vp /usr/local/share/applications/
|
||||||
cp -v local/share/applications/*.desktop /usr/local/share/applications/
|
# These are bound to exist on my systems
|
||||||
|
cp -v local/share/applications/{a-signal,a-syncplay,plasma-update,a-firefox-cups,a-firefox,a-chromium}.desktop /usr/local/share/applications/
|
||||||
|
# If Steam is installed, chances are these work
|
||||||
|
if [ -f /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ]; then
|
||||||
|
cp -v local/share/applications/{a-steam,com.valvesoftware.Steam,flatpak-steam-bigpicture,flatpak-steam-tray}.desktop /usr/local/share/applications/
|
||||||
|
fi
|
||||||
|
if [ -f /var/lib/flatpak/exports/bin/org.briarproject.Briar ]; then
|
||||||
|
cp -v local/share/applications/briar.desktop /usr/local/share/applications/
|
||||||
|
fi
|
||||||
|
if [ -f /usr/bin/librewolf ]; then
|
||||||
|
cp -v local/share/applications/libreawoo.desktop /usr/local/share/applications/
|
||||||
|
fi
|
||||||
|
if [ -f /usr/bin/vivaldi ]; then
|
||||||
|
cp -v local/share/applications/vivaldi.desktop /usr/local/share/applications/
|
||||||
|
fi
|
||||||
|
|
||||||
# Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS!
|
# Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS!
|
||||||
if [ -d /etc/sudoers.d ]; then
|
if [ -d /etc/sudoers.d ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user