mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2025-01-13 20:01:46 +01:00
cinnamon: Remove unneeded patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
e4cc0af207
commit
6640a6d671
2 changed files with 0 additions and 23 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
Loading…
Reference in a new issue