Update index.py

pull/205/head
midoks 3 years ago
parent c6099fb7ce
commit 9f2cb58812
  1. 4
      plugins/gitea/index.py

@ -101,7 +101,7 @@ def getHomeDir():
"who | sed -n '2, 1p' |awk '{print $1}'")[0].strip()
return '/Users/' + user
else:
return '/root'
return '/git'
def getRunUser():
@ -110,7 +110,7 @@ def getRunUser():
"who | sed -n '2, 1p' |awk '{print $1}'")[0].strip()
return user
else:
return 'root'
return 'git'
__SR = '''#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin

Loading…
Cancel
Save