Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=d9009de2f72001eb6a5818931066a776fd0ce218
commit d9009de2f72001eb6a5818931066a776fd0ce218 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Thu Nov 29 00:09:19 2007 +0100 repoman: report all package needed for building, not one by one well, what a fancy implicit and small troll ai, implemented in bash! but it was time to get rid of it ;) diff --git a/repoman b/repoman index bcc2f30..ed51268 100755 --- a/repoman +++ b/repoman @@ -567,12 +567,11 @@ merge() do missing="$missing `pacman -Sg $i |grep -v '^\w'` " done - missdep=`pacman-g2 -T $missing` - ret=$? - if [ "$ret" != "0" ]; then + missdep=`pacman-g2 -T $missing| sed 's|.\+: ||'` + if [ -n "$missdep" ]; then echo "failed" echo "Use the following command to install the missing packages:" - echo "pacman-g2 -S `echo $missdep| sed 's|.\+: ||g;s|=.*$||;s|>.*$||;s|<.*$||'`" + echo "pacman-g2 -S `echo $missdep| sed 's|=.*$||;s|>.*$||;s|<.*$||'`" exit 1 else echo "done" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
