fix freebsd oops

This commit is contained in:
Marcos Pinto 2007-12-26 20:07:44 +00:00
parent 2465c5d214
commit ab8e6e6bde
1 changed files with 3 additions and 3 deletions

View File

@ -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):