summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-05 16:59:24 +0100
committerRemi Collet <remi@php.net>2021-11-05 16:59:24 +0100
commit3ebec349b0100333c93fda9cbb6afe04e1b006a8 (patch)
tree496184402318a6839bde5c756ad3eda8776b37ef /getmock
parent046acb1a031b2ad7d10cfe99130b3b3ce6c4c7ba (diff)
EL-9 helpers
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock24
1 files changed, 23 insertions, 1 deletions
diff --git a/getmock b/getmock
index 5292e0a..33539b2 100755
--- a/getmock
+++ b/getmock
@@ -85,6 +85,16 @@ el8x80)
fi
type=enterprise
;;
+el9x80)
+ dep=9
+ if [ "$2" == "php80" -o "$2" == "test80" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php80
+ else rep=${2}80
+ fi
+ type=enterprise
+ ;;
el8x81)
dep=8
if [ "$2" == "php81" -o "$2" == "test81" ]
@@ -95,6 +105,16 @@ el8x81)
fi
type=enterprise
;;
+el9x81)
+ dep=9
+ if [ "$2" == "php81" -o "$2" == "test81" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php81
+ else rep=${2}81
+ fi
+ type=enterprise
+ ;;
el*) dep=${dep#el}
type=enterprise
;;
@@ -325,6 +345,7 @@ elif [ $1 = all80 ]; then
getOneMock fc34x $opt '*8.0*'
getOneMock el7x $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
+ getOneMock el9x80 $opt '*8.0*'
elif [ $1 = all81 ]; then
[ $opt = remi ] && opt=php81
@@ -334,6 +355,7 @@ elif [ $1 = all81 ]; then
getOneMock fc35x $opt '*8.1*'
getOneMock el7x $opt '*8.1*'
getOneMock el8x81 $opt '*8.1*'
+ getOneMock el9x81 $opt '*8.1*'
elif [ $1 = all54 ]; then
n=7
@@ -356,7 +378,7 @@ elif [ $1 = allx ]; then
do
getOneMock fc${i}x $opt
done
- for i in 7 8
+ for i in 7 8 9
do
getOneMock el${i}x $opt
done