From ef4ea151f4cec3cb9e086d4267e55cab2ebe3233 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 10 Apr 2008 02:01:46 +0000 Subject: [PATCH] Remove cruft for ubuntu check --- scripts/deluge | 12 ------------ 1 file changed, 12 deletions(-) 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")