mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Don't change the behaviour in debian setups
This commit is contained in:
parent
cef7cd2888
commit
34151241f4
1 changed files with 2 additions and 2 deletions
|
|
@ -112,13 +112,13 @@ def main():
|
|||
(options, args) = parser.parse_args()
|
||||
|
||||
# find root install prefix
|
||||
tmp = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
|
||||
tmp = os.path.dirname(sys.argv[0])
|
||||
if os.path.basename(tmp) == 'bin':
|
||||
prefix = os.path.dirname(tmp)
|
||||
examplesdir = prefix + '/share/doc/fdroidserver/examples'
|
||||
else:
|
||||
# we're running straight out of the git repo
|
||||
prefix = tmp
|
||||
prefix = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
|
||||
examplesdir = prefix + '/examples'
|
||||
|
||||
fdroiddir = os.getcwd()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue