freebsd-ports/ports-mgmt/pkg_trackinst/files/patch-PkgTrackInst_PkgDbWriter.py
Jimmy Olgeni c462b1dfb3 Take maintainership from ports@.
Chase BSD.local.dist location: it now lives in ports/Templates and
is no longer installed in /etc/mtree.

Feature safe:	yes
2011-11-29 13:48:50 +00:00

14 lines
454 B
Python

$FreeBSD$
--- PkgTrackInst/PkgDbWriter.py.orig
+++ PkgTrackInst/PkgDbWriter.py
@@ -74,7 +74,7 @@
print >> self.pkgfile('+COMMENT'), self.pkginfo['comment']
print >> self.pkgfile('+DESC'), self.pkginfo['description'].strip()
- mtree = open('/etc/mtree/BSD.local.dist').read()
+ mtree = open('/usr/ports/Templates/BSD.local.dist').read()
self.pkgfile('+MTREE_DIRS').write(mtree)
def write_scripts(self):