pika-welcome/data/scripts/software-manager.sh
Ward from fusion-voyager-3 3631846bb2
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 2m27s
Add runtime locales, update urls, update scripts
2024-08-31 04:19:47 +03:00

11 lines
281 B
Bash
Executable File

#!/bin/bash
if echo $XDG_SESSION_DESKTOP | grep -i -E 'gnome|pika|ubuntu'
then
gnome-software "$@"
elif echo $XDG_SESSION_DESKTOP | grep -i -E 'plasma|kde'
then
plasma-discover "$@"
else
zenity --error --text "$XDG_SESSION_DESKTOP does have a registered software-manager"
fi