diff options
author | Erich Eckner <git@eckner.net> | 2019-04-04 18:26:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-04 18:26:27 +0200 |
commit | 12874f08c8bc78b7449f46d05bd06c786ed697b0 (patch) | |
tree | a5e6dd3a7f7e1f74f22b2253268bc11520603ed6 | |
parent | 95a5899e01ef583671bd95372e8b7f650f192380 (diff) | |
download | builder-12874f08c8bc78b7449f46d05bd06c786ed697b0.tar.xz |
bin/create-build-support-package: fixup of 75c9b80: the pkgname should still be changed!
-rwxr-xr-x | bin/create-build-support-package | 5 |
1 files changed, 1 insertions, 4 deletions
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 |