cinnamon: Remove unneeded patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-05-14 08:33:56 +07:00
parent e4cc0af207
commit 6640a6d671
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 0 additions and 23 deletions

View file

@ -71,9 +71,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch to fix platform.linux_distribution with python 3.8
patch -p1 < $CWD/python_3.8_platform.patch
# Use cinnamon theme by default
patch -p1 < $CWD/default-theme.patch

View file

@ -1,20 +0,0 @@
--- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py
+++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py
@@ -1,6 +1,7 @@
#!/usr/bin/python3
import platform
+import distro
import subprocess
import shlex
import os
@@ -105,7 +106,7 @@
title = ' '.join(contents[:2]) or "Manjaro Linux"
infos.append((_("Operating System"), title))
else:
- s = '%s (%s)' % (' '.join(platform.linux_distribution()), arch)
+ s = '%s (%s)' % (' '.join(distro.linux_distribution()), arch)
# Normalize spacing in distribution name
s = re.sub('\s{2,}', ' ', s)
infos.append((_("Operating System"), s))