index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2018-05-31 18:24:47 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-08-10 12:37:19 +1000 |
commit | f2788244d322ca5ac45482d25747fe56176b72af (patch) | |
tree | 10464cb6a65248189ba8592c962be20bc7ec95d9 | |
parent | 0cbb128818726e4d41964ea8df8c42ee37697ef7 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 8ee0f5c5..49d9e3ad 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1491,7 +1491,7 @@ fi # check we have the software required to process the PKGBUILD check_software || exit $E_MISSING_MAKEPKG_DEPS -if (( ${#pkgname[@]} > 1 )); then +if (( ${#pkgname[@]} > 1 )) || have_function package_${pkgname}; then SPLITPKG=1 fi @@ -1513,8 +1513,6 @@ if have_function check; then fi if have_function package; then PKGFUNC=1 -elif [[ $SPLITPKG -eq 0 ]] && have_function package_${pkgname}; then - SPLITPKG=1 fi # check if gpg signature is to be created and if signing key is valid |