3 --- ./bleachbit/Common.py.orig 2009-08-27 13:03:52.000000000 +0000
4 +++ ./bleachbit/Common.py 2009-08-28 23:25:57.000000000 +0000
7 license_filename = "/usr/share/doc/packages/bleachbit/COPYING"
8 if not os.path.exists(license_filename):
10 - license_filename = "/usr/share/doc/bleachbit/COPYING"
11 + # Mandriva and NetBSD
12 + license_filename = "/usr/pkg/share/doc/bleachbit/COPYING"
13 if not os.path.exists(license_filename):
14 # CentOS, Fedora, RHEL
15 license_filename = "/usr/share/doc/bleachbit-" + APP_VERSION + "/COPYING"
17 license_filename = os.path.join(bleachbit_exe_path, 'COPYING')
21 -if sys.platform == 'linux2':
23 +if sys.platform >= 'netbsd5' or 'linux2':
24 options_dir = os.path.expanduser("~/.config/bleachbit/")
25 if sys.platform == 'win32':
26 options_dir = os.path.expandvars("${APPDATA}\\BleachBit\\")
28 system_cleaners_dir = None
29 if sys.platform == 'linux2':
30 system_cleaners_dir = '/usr/share/bleachbit/cleaners'
31 +if sys.platform >= 'netbsd5':
32 + system_cleaners_dir = '/usr/pkg/share/bleachbit/cleaners'
33 if sys.platform == 'win32':
34 system_cleaners_dir = os.path.join(bleachbit_exe_path, 'share\\cleaners\\')
38 if sys.platform == 'linux2':
39 appicon_path = "/usr/share/pixmaps/bleachbit.png"
40 + if sys.platform >= 'netbsd5':
41 + appicon_path = "/usr/pkg/share/pixmaps/bleachbit.png"
42 if sys.platform == 'win32':
43 appicon_path = os.path.join(bleachbit_exe_path, 'share\\bleachbit.png')
47 if sys.platform == 'linux2':
48 locale_dir = "/usr/share/locale/"
49 + if sys.platform >= 'netbsd5':
50 + locale_dir = "/usr/pkg/share/locale/"
51 if sys.platform == 'win32':
52 locale_dir = os.path.join(bleachbit_exe_path, 'share\\locale\\')