diff --git a/scripts/deluge b/scripts/deluge index a0cab182d..cbc3db71d 100755 --- a/scripts/deluge +++ b/scripts/deluge @@ -47,18 +47,6 @@ import deluge._dbus as dbus import deluge.interface import deluge.pref -if not deluge.common.windows_check(): - import platform - if platform.system() == "Linux": # Add this, FreeBSD and other OSs than Linux do not have /etc/issue. - print "checking for ubuntu..." - if os.WEXITSTATUS(os.system('grep -iq "Ubuntu" /etc/issue')) == 0: - if os.environ.get("MOZILLA_FIVE_HOME") != "/usr/lib/firefox": - print "found and fixing ubuntu" - os.environ["MOZILLA_FIVE_HOME"] = "/usr/lib/firefox" - os.environ["LD_LIBRARY_PATH"] = "/usr/lib/firefox" - subprocess.Popen(sys.argv) - raise SystemExit - parser = OptionParser(usage="%prog [options] [torrents to add]", version=deluge.common.PROGRAM_VERSION) parser.add_option("-c", "--config", dest="config", help="Sets the configuration path")