Skip to content

Commit 0bad249

Browse files
committed
Fix Kubuntu recognised as Ubuntu (dylanaraps#2411)
1 parent 17af199 commit 0bad249

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Next Release
22
* Add MainsailOS (dylanaraps#2407)
3+
* Fix Kubuntu recognised as Ubuntu (dylanaraps#2411)
34

45
# 1.3.2
56
* get-model fix (njb-fm#37, from @nsavinda)

unifetch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ get_distro() {
12661266
if [[ $distro == "Ubuntu"* ]]; then
12671267
case $XDG_CONFIG_DIRS in
12681268
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
1269-
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
1269+
*"kde"*) distro=${distro/Ubuntu/Kubuntu} ;;
12701270
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
12711271
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
12721272
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;

0 commit comments

Comments
 (0)