Skip to content

Commit

Permalink
Fix Kubuntu recognised as Ubuntu (dylanaraps#2411)
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatehay committed Nov 20, 2023
1 parent 17af199 commit 0bad249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Next Release
* Add MainsailOS (dylanaraps#2407)
* Fix Kubuntu recognised as Ubuntu (dylanaraps#2411)

# 1.3.2
* get-model fix (njb-fm#37, from @nsavinda)
Expand Down
2 changes: 1 addition & 1 deletion unifetch
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ get_distro() {
if [[ $distro == "Ubuntu"* ]]; then
case $XDG_CONFIG_DIRS in
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
*"kde"*) distro=${distro/Ubuntu/Kubuntu} ;;
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
Expand Down

0 comments on commit 0bad249

Please sign in to comment.