summaryrefslogtreecommitdiffstats
path: root/aurweb/git/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'aurweb/git/auth.py')
-rwxr-xr-xaurweb/git/auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/aurweb/git/auth.py b/aurweb/git/auth.py
index 022b0fff..d02390da 100755
--- a/aurweb/git/auth.py
+++ b/aurweb/git/auth.py
@@ -1,5 +1,6 @@
#!/usr/bin/python3
+import os
import shlex
import re
import sys
@@ -52,6 +53,7 @@ def main():
env_vars = {
'AUR_USER': user,
'AUR_PRIVILEGED': '1' if account_type > 1 else '0',
+ 'AUR_OVERWRITE' : os.environ.get('AUR_OVERWRITE', '0') if account_type > 1 else '0',
}
key = keytype + ' ' + keytext