diff options
author | Erich Eckner <git@eckner.net> | 2016-06-03 10:19:23 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-06-03 10:44:04 +0200 |
commit | ad778dbe2e0650e1e14ee391f3e72b73ecea1d89 (patch) | |
tree | 68da224d050146003b6dc32eb180d178a85d132c /bumpVersion | |
parent | f6e08b5f0a9647bce466a38e9833cdf9b2b034d6 (diff) | |
download | archlinuxewe-ad778dbe2e0650e1e14ee391f3e72b73ecea1d89.tar.xz |
bumpVersion verwendet jetzt testeAbhaengigkeiten, welches Abhängigkeiten von Perl-Paketen überprüft
Diffstat (limited to 'bumpVersion')
-rwxr-xr-x | bumpVersion | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bumpVersion b/bumpVersion index cc1959cda..34bbf900a 100755 --- a/bumpVersion +++ b/bumpVersion @@ -58,6 +58,20 @@ summen="$( \ )" sed 's|sha512sums=.*$|'"${summen}"'|' -i PKGBUILD +( + if ! "$(dirname "$(readlink -f "$0")")/testeAbhaengigkeiten" "${paket}" + then + was='' + ec[0]='jJyY' + ec[1]='nN' + while [[ "${ec[0]}" != *"${was}"* ]] && [[ "${ec[1]}" != *"${was}"* ]] || [ -z "${was}" ] + do + read -p 'Trotzdem weiter machen (j/y/n)? ' was + done + [[ "${ec[0]}" == *"${was}"* ]] + fi +) || exit $? + rm -rf pkg src sudo pacman -Sy makepkg -fcsr --noconfirm --asdeps || exit 1 |