Skip to content

Commit 9fd336a

Browse files
committed
Simplify LMDE check
1 parent 945a725 commit 9fd336a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

usr/lib/linuxmint/mintUpdate/mintUpdate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,8 +1669,7 @@ def __init__(self):
16691669

16701670
try:
16711671
# Only support kernel selection in Linux Mint (not LMDE)
1672-
release_info = xapp.os.get_os_release_info()
1673-
if release_info["NAME"].lower() == "linux mint" and float(release_info["VERSION_ID"]) >= 13:
1672+
if not os.path.exists("/usr/share/doc/debian-system-adjustments/copyright"):
16741673
viewSubmenu.append(kernelMenuItem)
16751674
except Exception as e:
16761675
print (e)

0 commit comments

Comments
 (0)