os: Fix ubuntu studio. Closes #1733

This commit is contained in:
Dylan Araps 2021-06-11 07:05:57 +00:00
parent 06b1c77bb8
commit bcc8d98df5
1 changed files with 1 additions and 1 deletions

View File

@ -1124,12 +1124,12 @@ get_distro() {
# Get Ubuntu flavor. # Get Ubuntu flavor.
if [[ $distro == "Ubuntu"* ]]; then if [[ $distro == "Ubuntu"* ]]; then
case $XDG_CONFIG_DIRS in case $XDG_CONFIG_DIRS in
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;; *"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;; *"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;; *"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;; *"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
*"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;; *"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;;
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
*"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;; *"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;;
esac esac
fi fi