summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock30
1 files changed, 25 insertions, 5 deletions
diff --git a/getmock b/getmock
index 05c532a..7cf8bc1 100755
--- a/getmock
+++ b/getmock
@@ -135,6 +135,26 @@ el?x81)
fi
type=enterprise
;;
+fc??x80)
+ dep=${1:2:2}
+ if [ "$2" == "php80" -o "$2" == "test80" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php80
+ else rep=${2}80
+ fi
+ type=fedora
+ ;;
+fc??x81)
+ dep=${1:2:2}
+ if [ "$2" == "php81" -o "$2" == "test81" ]
+ then rep=$rep
+ elif [ "$2" == "remi" ]
+ then rep=php81
+ else rep=${2}81
+ fi
+ type=fedora
+ ;;
el*) dep=${dep#el}
type=enterprise
;;
@@ -366,8 +386,8 @@ elif [ $1 = all74 ]; then
elif [ $1 = all80 ]; then
[ $opt = remi ] && opt=php80
[ $opt = test ] && opt=test80
- getOneMock fc33x $opt '*8.0*'
- getOneMock fc34x $opt '*8.0*'
+ getOneMock fc33x80 $opt '*8.0*'
+ getOneMock fc34x80 $opt '*8.0*'
getOneMock el7x80 $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
getOneMock el9x80 $opt '*8.0*'
@@ -375,9 +395,9 @@ elif [ $1 = all80 ]; then
elif [ $1 = all81 ]; then
[ $opt = remi ] && opt=php81
[ $opt = test ] && opt=test81
- getOneMock fc33x $opt '*8.1*'
- getOneMock fc34x $opt '*8.1*'
- getOneMock fc35x $opt '*8.1*'
+ getOneMock fc33x81 $opt '*8.1*'
+ getOneMock fc34x81 $opt '*8.1*'
+ getOneMock fc35x81 $opt '*8.1*'
getOneMock el7x81 $opt '*8.1*'
getOneMock el8x81 $opt '*8.1*'
getOneMock el9x81 $opt '*8.1*'