From 12874f08c8bc78b7449f46d05bd06c786ed697b0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Apr 2019 18:26:27 +0200 Subject: bin/create-build-support-package: fixup of 75c9b80: the pkgname should still be changed! --- bin/create-build-support-package | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/create-build-support-package') diff --git a/bin/create-build-support-package b/bin/create-build-support-package index 2db3510..8998cfb 100755 --- a/bin/create-build-support-package +++ b/bin/create-build-support-package @@ -177,6 +177,7 @@ if [ -n "${source_package}" ]; then # TODO: mangle customizable meta-infos here (new provides, keep some # depends) sed -i ' + /^pkgname = / s/ \S\+$/\0-shim\nprovides =\0/ /^depend = /d ' "${tmp_dir}/content/.PKGINFO" if ${only_versioned_so_provides}; then @@ -187,10 +188,6 @@ if [ -n "${source_package}" ]; then /^replaces = / d /^conflict = / d ' "${tmp_dir}/content/.PKGINFO" - else - sed -i ' - /^pkgname = / s/ \S\+$/\0-shim\nprovides =\0/ - ' "${tmp_dir}/content/.PKGINFO" fi # from /usr/bin/makepkg -- cgit v1.2.3