Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Fix detection of desktop packages on non-english systems #15

Merged
merged 2 commits into from
Jul 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rolling-rhino
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fi

DESKTOP_FOUND=0
for META in kubuntu-desktop lubuntu-desktop ubuntu-desktop ubuntu-budgie-desktop ubuntukylin-desktop ubuntu-mate-desktop ubuntustudio-desktop xubuntu-desktop; do
INSTALLED=$(apt list --installed "${META}" 2>/dev/null | grep installed)
INSTALLED=$(env LANG=C apt list --installed "${META}" 2>/dev/null | grep installed)
if [ -n "${INSTALLED}" ]; then
fancy_message 0 "Detected ${META}."
DESKTOP_FOUND=1
Expand Down