diff options
author | Erich Eckner <git@eckner.net> | 2017-11-12 20:50:33 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-12 20:50:33 +0100 |
commit | 282971c9c4cc973ab9966f4bdb55029d43fda2b2 (patch) | |
tree | 6822a289370be01f15ef41596eb55c808d05a0a6 | |
parent | e395fe24beea48ef008c488b9f8afce990fd141f (diff) | |
download | builder-282971c9c4cc973ab9966f4bdb55029d43fda2b2.tar.xz |
bin/common-functions: make $pkgname-i18n appear depending on $pkgname
-rwxr-xr-x | bin/common-functions | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/common-functions b/bin/common-functions index 84f4a62..323a111 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -644,7 +644,14 @@ make_source_info() { cd "${tmp_dir}" makepkg --printsrcinfo cd .. - } > \ + } | + if [ "${package%-i18n}-i18n" = "${package}" ]; then + sed ' + 1 a \\tdepends = '"${package%-i18n}"' + ' + else + cat + fi > \ "${output}" ) |