From 4b146fcac9a0a441a113586d5eab0a962890f105 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 23 Nov 2013 09:48:42 +0000 Subject: 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 --- Keywords/info.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Keywords') 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 -- cgit v1.2.3