diff options
Diffstat (limited to 'getmock')
-rwxr-xr-x | getmock | 29 |
1 files changed, 23 insertions, 6 deletions
@@ -8,6 +8,8 @@ case $1 in ;; *x) dep=${1%x} ;; +*a) dep=${1%a} + ;; *) dep=$1 ;; esac @@ -108,7 +110,7 @@ el?x73) fi type=enterprise ;; -el?x74) +el??74) dep=${1:2:1} if [ "$2" == "php74" -o "$2" == "test74" ] then rep=$rep @@ -118,7 +120,7 @@ el?x74) fi type=enterprise ;; -el?x80) +el??80) dep=${1:2:1} if [ "$2" == "php80" -o "$2" == "test80" ] then rep=$rep @@ -128,7 +130,7 @@ el?x80) fi type=enterprise ;; -el?x81) +el??81) dep=${1:2:1} if [ "$2" == "php81" -o "$2" == "test81" ] then rep=$rep @@ -258,6 +260,15 @@ do cp $i priv/el9.x86_64 && echo + $i copied priv EL9 fi ;; + *-debuginfo-*aarch64.rpm|*-debugsource-*aarch64.rpm) + if [ -f ${debug}aarch64/$j ]; then + echo " " $i already there + elif [ -d ${debug}aarch64 ]; then + cp $i ${debug}aarch64 && echo + $i copied debuginfo aarch64 + else + echo " " $i ignored + fi + ;; *-debuginfo-*x86_64.rpm|*-debugsource-*x86_64.rpm) if [ -f ${debug}x86_64/$j ]; then echo " " $i already there @@ -287,9 +298,6 @@ do [ -d ${cible}ppc64 -a ! -f ${cible}ppc64/.closed ] \ && ln ${cible} /$j ${cible}ppc64/$j \ && echo + $i linked ppc64 - #[ -d ${cible}i386 ] \ - # && ln ${cible}x86_64/$j ${cible}i386/$j \ - # && echo + $i linked x86_64 [ -d ${cible}armhfp ] \ && ln ${cible}x86_64/$j ${cible}armhfp/$j \ && echo + $i linked armhfp @@ -305,6 +313,13 @@ do cp $i ${cible}i386 && echo + $i copied i686 fi ;; + *.aarch64.rpm) + if [ -f ${cible}aarch64/$j ]; then + echo " " $i already there + else + cp $i ${cible}aarch64 && echo + $i copied aarch64 + fi + ;; *.x86_64.rpm) if [ -f ${cible}x86_64/$j ]; then echo " " $i already there @@ -323,6 +338,8 @@ if [ $# = 0 ]; then exit 1 fi +echo -e "\n\n\n---------------------------------------\n\n\n" + opt=remi if [ $1 = test ]; then opt=test |