The default temporary directory as to stay as is, do not touch this code snippet anymore please

This commit is contained in:
Bernardo Damele 2012-03-14 22:39:46 +00:00
parent 52a8b25ff4
commit c735d846ee

View File

@ -45,10 +45,10 @@ class Miscellaneous:
if Backend.getOsVersion() in ("2000", "NT"): if Backend.getOsVersion() in ("2000", "NT"):
conf.tmpPath = "C:/WINNT/Temp" conf.tmpPath = "C:/WINNT/Temp"
elif Backend.getOsVersion() in ("2003", "XP"): elif Backend.isOs("XP"):
conf.tmpPath = "C:/Documents and Settings/All Users/Application Data/TEMP" conf.tmpPath = "C:/Documents and Settings/All Users/Application Data"
else: else:
conf.tmpPath = "C:/Users/All Users/Application Data/TEMP" conf.tmpPath = "C:/Windows/Temp"
else: else:
conf.tmpPath = "/tmp" conf.tmpPath = "/tmp"