From 3d67c8569bb330a1be33669c1da9bbd855c33404 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Aug 2024 15:26:10 +0200 Subject: F41 helpers --- getmock | 150 +++++++++++----------------------------------------------------- 1 file changed, 26 insertions(+), 124 deletions(-) (limited to 'getmock') diff --git a/getmock b/getmock index eb5ed10..9d60cd1 100755 --- a/getmock +++ b/getmock @@ -50,52 +50,6 @@ scl70el*) dep=${dep#scl70el} scl56el*) dep=${dep#scl56el} type=enterprise ;; -scl55el*) dep=${dep#scl55el} - type=enterprise - ;; -scl54el*) dep=${dep#scl54el} - type=enterprise - ;; -el?x55) - dep=${1:2:1} - if [ "$2" == "php55" -o "$2" == "test55" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php55 - else rep=${2}55 - fi - type=enterprise - ;; -el?x56) - dep=${1:2:1} - if [ "$2" == "php56" -o "$2" == "test56" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php56 - else rep=${2}56 - fi - type=enterprise - ;; -el?x70) - dep=${1:2:1} - if [ "$2" == "php70" -o "$2" == "test70" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php70 - else rep=${2}70 - fi - type=enterprise - ;; -el?x71) - dep=${1:2:1} - if [ "$2" == "php71" -o "$2" == "test71" ] - then rep=$rep - elif [ "$2" == "remi" ] - then rep=php71 - else rep=${2}71 - fi - type=enterprise - ;; el??72) dep=${1:2:1} if [ "$2" == "php72" -o "$2" == "test72" ] @@ -240,27 +194,6 @@ scl80fc*) dep=${dep#scl80fc} scl74fc*) dep=${dep#scl74fc} type=fedora ;; -scl73fc*) dep=${dep#scl73fc} - type=fedora - ;; -scl72fc*) dep=${dep#scl72fc} - type=fedora - ;; -scl71fc*) dep=${dep#scl71fc} - type=fedora - ;; -scl70fc*) dep=${dep#scl70fc} - type=fedora - ;; -scl56fc*) dep=${dep#scl56fc} - type=fedora - ;; -scl55fc*) dep=${dep#scl55fc} - type=fedora - ;; -scl54fc*) dep=${dep#scl54fc} - type=fedora - ;; *) echo Connais pas $dep ;; esac @@ -312,6 +245,13 @@ do cp $i priv/el9.x86_64 && echo + $i copied priv EL9 fi ;; + remi-crypto*fc41*) + if [ -f priv/fc41.x86_64/$j ]; then + echo " " $i already there + else + cp $i priv/fc41.x86_64 && echo + $i copied priv FC41 + fi + ;; remi-crypto*fc40*) if [ -f priv/fc40.x86_64/$j ]; then echo " " $i already there @@ -448,11 +388,7 @@ if [ $1 = devs -o $1 = dev ]; then shift fi -if [ $1 = all55 ]; then - n=7 - getOneMock el${n}x55 php55 '*5.5*' - -elif [ $1 = all56 ]; then +if [ $1 = all56 ]; then n=7 getOneMock el${n}x56 php56 '*5.6*' @@ -635,80 +571,46 @@ elif [ $1 = scl71 ]; then done elif [ $1 = scl84 ]; then - for i in fc39 fc40 el8 el9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl84${i}x $opt + getOneMock scl84${dis}a $opt + getOneMock scl84${dis}x $opt done - getOneMock scl84fc39a $opt - getOneMock scl84fc40a $opt - getOneMock scl84el8a $opt - getOneMock scl84el9a $opt elif [ $1 = scl83 ]; then - for i in fc39 fc40 el8 el9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl83${i}x $opt + getOneMock scl83${dis}x $opt + getOneMock scl83${dis}a $opt done - getOneMock scl83fc39a $opt - getOneMock scl83fc40a $opt - getOneMock scl83el8a $opt - getOneMock scl83el9a $opt elif [ $1 = scl82 ]; then - for i in 39 40 - do - getOneMock scl82fc${i}x $opt - done - getOneMock scl82fc39a $opt - getOneMock scl82fc40a $opt - for i in 8 9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl82el${i}x $opt + getOneMock scl82${dis}x $opt + getOneMock scl82${dis}a $opt done - getOneMock scl82el8a $opt - getOneMock scl82el9a $opt elif [ $1 = scl81 ]; then - for i in 39 40 - do - getOneMock scl81fc${i}x $opt - done - getOneMock scl81fc39a $opt - getOneMock scl81fc40a $opt - for i in 8 9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl81el${i}x $opt + getOneMock scl81${dis}x $opt + getOneMock scl81${dis}a $opt done - getOneMock scl81el8a $opt - getOneMock scl81el9a $opt elif [ $1 = scl80 ]; then - for i in 39 40 - do - getOneMock scl80fc${i}x $opt - done - getOneMock scl80fc39a $opt - getOneMock scl80fc40a $opt - for i in 8 9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl80el${i}x $opt + getOneMock scl80${dis}x $opt + getOneMock scl80${dis}a $opt done - getOneMock scl80el8a $opt - getOneMock scl80el9a $opt elif [ $1 = scl74 ]; then - for i in 39 40 - do - getOneMock scl74fc${i}x $opt - done - getOneMock scl74fc39a $opt - getOneMock scl74fc40a $opt - for i in 8 9 + for dis in fc39 fc40 fc41 el8 el9 do - getOneMock scl74el${i}x $opt + getOneMock scl74${dis}x $opt + getOneMock scl74${dis}a $opt done - getOneMock scl74el8a $opt - getOneMock scl74el9a $opt elif [ $1 = scl73 ]; then for i in 8 -- cgit