mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-11-27 16:06:03 -08:00
Make installation undependable from tweaks
Updated copyright years ("better late than never" ahh change)
This commit is contained in:
@@ -159,6 +159,9 @@ class GlobalTheme:
|
||||
:param sat: color saturation
|
||||
"""
|
||||
|
||||
if os.geteuid() != 0:
|
||||
raise Exception("Root privileges required to install GDM theme")
|
||||
|
||||
if self.__is_installed():
|
||||
print("Theme is installed. Reinstalling...")
|
||||
self.gst += ".backup"
|
||||
|
||||
Reference in New Issue
Block a user