install script: little change for macOS installations.

Sat, 24 Apr 2021 16:35:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 24 Apr 2021 16:35:05 +0200
changeset 8261
0c2aa0ad149f
parent 8260
2161475d9639
child 8262
2f6310aac6cd

install script: little change for macOS installations.

scripts/install.py file | annotate | diff | comparison | revisions
diff -r 2161475d9639 -r 0c2aa0ad149f scripts/install.py
--- a/scripts/install.py	Thu Apr 22 18:02:47 2021 +0200
+++ b/scripts/install.py	Sat Apr 24 16:35:05 2021 +0200
@@ -1416,7 +1416,8 @@
     Perform some dependency checks.
     """
     try:
-        isSudo = os.getuid() == 0
+        isSudo = os.getuid() == 0 and sys.platform != "darwin"
+        # disregard sudo installs on macOS
     except AttributeError:
         isSudo = False
     

eric ide

mercurial