diff options
-rwxr-xr-x | neuesPerlPaket | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/neuesPerlPaket b/neuesPerlPaket index 1e6b1a09a..6187dc52b 100755 --- a/neuesPerlPaket +++ b/neuesPerlPaket @@ -174,26 +174,37 @@ versteheMetaYml needs_build=true while ${needs_build}; do - needs_build=false - makepkg -fcrs --noconfirm --asdeps || exit 1 - namcap ${pkgname}-*.pkg.tar.xz | \ - tee namcap.log - if grep -q ' W: No ELF files and not an "any" package$' namcap.log; then - rm ${pkgname}-*.pkg.tar.xz - needs_build=true - sed -i "s/^arch=.*\$/arch=('any')/" PKGBUILD - fi -done -echo '' -echo 'sieht soweit erst mal gut aus, oder?' -read antwort + while ${needs_build}; do + needs_build=false + makepkg -fcrs --noconfirm --asdeps || exit 1 + namcap ${pkgname}-*.pkg.tar.xz | \ + tee namcap.log + if grep -q ' W: No ELF files and not an "any" package$' namcap.log; then + rm ${pkgname}-*.pkg.tar.xz + needs_build=true + sed -i "s/^arch=.*\$/arch=('any')/" PKGBUILD + fi + done -if [ -n "${antwort}" ] -then - echo 'ok, dann nicht ...' - exit 1 -fi + echo '' + echo 'sieht soweit erst mal gut aus, oder?' + read antwort + + case "${antwort}" in + '') + ;; + 'e') + nano PKGBUILD + needs_build=true + ;; + *) + echo 'ok, dann nicht ...' + exit 1 + ;; + esac + +done pacman -Qlp ${pkgname}-*.pkg.tar.xz |