mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
fix freebsd oops
This commit is contained in:
parent
2465c5d214
commit
ab8e6e6bde
@ -72,11 +72,11 @@ if not deluge.common.windows_check():
|
||||
os.environ["MOZILLA_FIVE_HOME"] = "/usr/local/lib/firefox"
|
||||
os.environ["LD_LIBRARY_PATH"] = "/usr/local/lib/firefox"
|
||||
if config in options:
|
||||
os.system("/usr/bin/deluge %s %s" %(options, args))
|
||||
os.system("/usr/local/bin/deluge %s %s" %(options, args))
|
||||
elif args:
|
||||
os.system("/usr/bin/deluge %s" %(args))
|
||||
os.system("/usr/local/bin/deluge %s" %(args))
|
||||
else:
|
||||
os.system("/usr/bin/deluge")
|
||||
os.system("/usr/local/bin/deluge")
|
||||
raise SystemExit
|
||||
|
||||
if (options.config != None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user