summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgetmock10
1 files changed, 7 insertions, 3 deletions
diff --git a/getmock b/getmock
index 1c2ec74..a20ec43 100755
--- a/getmock
+++ b/getmock
@@ -757,13 +757,17 @@ elif [ $1 = scl72 ]; then
getOneMock scl72el8a $opt
elif [ $1 = allphp ]; then
-
+ LOG=$(mktemp out.XXXXXXXXXX)
MOD="all54 all55 all56 all70 all71 all72 all73 all74 all80 all81 all82 all83"
SCL="scl54 scl55 scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83"
for i in $SCL $MOD
- do $0 $i $opt
- echo -en "\n> $i - [enter] >"; read rep
+ do $0 $i $opt | tee $LOG
+ if grep -q '64\.rpm' $LOG && grep -q 'Aucun' $LOG
+ then
+ echo -en "\n> $i - [enter] >"; read rep
+ fi
done
+ rm -f $LOG
else
for i in $*
do