fix debug

This commit is contained in:
Marcos Pinto 2007-12-26 22:17:43 +00:00
parent eea8ff8e98
commit ea953f54b1
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ if not deluge.common.windows_check():
import platform import platform
if platform.system() == "Linux": # Add this, FreeBSD and other OSs than Linux do not have /etc/issue. if platform.system() == "Linux": # Add this, FreeBSD and other OSs than Linux do not have /etc/issue.
print "checking for ubuntu..." print "checking for ubuntu..."
if os.WEXITSTATUS(os.system('grep -iq "Debian" /etc/issue')) == 0: if os.WEXITSTATUS(os.system('grep -iq "Ubuntu" /etc/issue')) == 0:
if os.environ.get("MOZILLA_FIVE_HOME") != "/usr/lib/firefox": if os.environ.get("MOZILLA_FIVE_HOME") != "/usr/lib/firefox":
print "found and fixing ubuntu" print "found and fixing ubuntu"
os.environ["MOZILLA_FIVE_HOME"] = "/usr/lib/firefox" os.environ["MOZILLA_FIVE_HOME"] = "/usr/lib/firefox"