From ebaa65de63ff1ae6f49b0cf54a9b474b05281a74 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 2 Sep 2022 11:14:18 +0200 Subject: 8.2 as module --- getmock | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'getmock') diff --git a/getmock b/getmock index 80806c9..c4cf757 100755 --- a/getmock +++ b/getmock @@ -130,6 +130,16 @@ el??80) fi type=enterprise ;; +el??82) + dep=${1:2:1} + if [ "$2" == "php82" -o "$2" == "test82" ] + then rep=$rep + elif [ "$2" == "remi" ] + then rep=php82 + else rep=${2}82 + fi + type=enterprise + ;; el??81) dep=${1:2:1} if [ "$2" == "php81" -o "$2" == "test81" ] @@ -160,6 +170,16 @@ fc??x80) fi type=fedora ;; +fc??x82) + dep=${1:2:2} + if [ "$2" == "php82" -o "$2" == "test82" ] + then rep=$rep + elif [ "$2" == "remi" ] + then rep=php82 + else rep=${2}82 + fi + type=fedora + ;; fc??x81) dep=${1:2:2} if [ "$2" == "php81" -o "$2" == "test81" ] @@ -451,6 +471,17 @@ elif [ $1 = all81 ]; then getOneMock el9x81 $opt '*8.1*' getOneMock el9a81 $opt '*8.1*' +elif [ $1 = all82 ]; then + [ $opt = remi ] && opt=php82 + [ $opt = test ] && opt=test82 + getOneMock fc35x82 $opt '*8.2*' + getOneMock fc36x82 $opt '*8.2*' + getOneMock fc37x82 $opt '*8.2*' + getOneMock el7x82 $opt '*8.2*' + getOneMock el8x82 $opt '*8.2*' + getOneMock el9x82 $opt '*8.2*' + getOneMock el9a82 $opt '*8.2*' + elif [ $1 = allr62 ]; then opt=remi getOneMock fc35x $opt '*6.2*' -- cgit