summaryrefslogtreecommitdiff
path: root/bumpVersion
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-06-03 10:19:23 +0200
committerErich Eckner <git@eckner.net>2016-06-03 10:44:04 +0200
commitad778dbe2e0650e1e14ee391f3e72b73ecea1d89 (patch)
tree68da224d050146003b6dc32eb180d178a85d132c /bumpVersion
parentf6e08b5f0a9647bce466a38e9833cdf9b2b034d6 (diff)
downloadarchlinuxewe-ad778dbe2e0650e1e14ee391f3e72b73ecea1d89.tar.xz
bumpVersion verwendet jetzt testeAbhaengigkeiten, welches Abhängigkeiten von Perl-Paketen überprüft
Diffstat (limited to 'bumpVersion')
-rwxr-xr-xbumpVersion14
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