freebsd-ports/net/online-desktop/files/patch-pyonlinedesktop-fsutil.py
Norikatsu Shigemura c7b8139e29 o Updated to 0.3.2
o Fix pkg-plist

PR:		ports/146609
Submitted by:	Ashish SHUKLA  wahjava  gmail com  (maintainer)
2010-05-15 08:53:45 +00:00

11 lines
396 B
Python

--- pyonlinedesktop/fsutil.py~ 2008-04-23 23:06:43.000000000 +0530
+++ pyonlinedesktop/fsutil.py 2008-05-28 21:27:46.000000000 +0530
@@ -12,7 +12,7 @@
if datadir_env:
datadirs = datadir_env.split(':')
else:
- datadirs = ['/usr/share/']
+ datadirs = ['%%PREFIX%%/share/']
for dirname in datadirs:
dirpath = os.path.join(dirname, name)
if os.access(dirpath, os.R_OK):