diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-11-23 09:48:42 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-11-23 09:48:42 +0000 |
commit | 4b146fcac9a0a441a113586d5eab0a962890f105 (patch) | |
tree | f31829231be8640ddd1c000609f461ce56d5a1a3 /Keywords | |
parent | 329454d22b9b519a18761013d4049a7f30fa770a (diff) | |
download | ports-4b146fcac9a0a441a113586d5eab0a962890f105.tar.gz ports-4b146fcac9a0a441a113586d5eab0a962890f105.zip |
Fix handling of info files with pkgng, when dealing with .info-X files and also what INFO_SUBDIR.
The .info-X handling was wrong since the beginning of pkgng, the INFO_SUBDIR regression was introduced with stage
PR: ports/184178
Reported by: gerald
Tested by: gerald
Notes
Notes:
svn path=/head/; revision=334652
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/info.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Keywords/info.yaml b/Keywords/info.yaml index b4bf1e78330e..e571d3a1e7a5 100644 --- a/Keywords/info.yaml +++ b/Keywords/info.yaml @@ -5,10 +5,10 @@ actions: [file] post-install: | file=%D/%@ - install-info --quiet %D/%@ ${file%/*}/dir + install-info --quiet %D/%@ %D/info/dir post-deinstall: | file=%D/%@ - install-info --quiet --delete %D/%@ ${file%/*}/dir + install-info --quiet --delete %D/%@ %D/info/dir if [ $(info -d ${file%/*} --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then rm -f ${file%/*}/dir fi |