#!/bin/bash # movedebugpkgs: put packages in correct directories on ftp server set -x cd ~/cfo-debug [ "$(echo *.fc28.i686.rpm)" != "*.fc28.i686.rpm" ] && mv *.fc28.i686.rpm fc28/i386/ [ "$(echo *.fc28.x86_64.rpm)" != "*.fc28.x86_64.rpm" ] && mv *.fc28.x86_64.rpm fc28/x86_64/ [ "$(echo *.fc29.i686.rpm)" != "*.fc29.i686.rpm" ] && mv *.fc29.i686.rpm fc29/i386/ [ "$(echo *.fc29.x86_64.rpm)" != "*.fc29.x86_64.rpm" ] && mv *.fc29.x86_64.rpm fc29/x86_64/ [ "$(echo *.fc30.i686.rpm)" != "*.fc30.i686.rpm" ] && mv *.fc30.i686.rpm fc30/i386/ [ "$(echo *.fc30.x86_64.rpm)" != "*.fc30.x86_64.rpm" ] && mv *.fc30.x86_64.rpm fc30/x86_64/ [ "$(echo *.fc31.i686.rpm)" != "*.fc31.i686.rpm" ] && mv *.fc31.i686.rpm fc31/i386/ [ "$(echo *.fc31.x86_64.rpm)" != "*.fc31.x86_64.rpm" ] && mv *.fc31.x86_64.rpm fc31/x86_64/ [ "$(echo *.fc32.i686.rpm)" != "*.fc32.i686.rpm" ] && mv *.fc32.i686.rpm fc32/i386/ [ "$(echo *.fc32.x86_64.rpm)" != "*.fc32.x86_64.rpm" ] && mv *.fc32.x86_64.rpm fc32/x86_64/ [ "$(echo *.fc33.i686.rpm)" != "*.fc33.i686.rpm" ] && mv *.fc33.i686.rpm fc33/i386/ [ "$(echo *.fc33.x86_64.rpm)" != "*.fc33.x86_64.rpm" ] && mv *.fc33.x86_64.rpm fc33/x86_64/ [ "$(echo *.fc34.i686.rpm)" != "*.fc34.i686.rpm" ] && mv *.fc34.i686.rpm fc34/i386/ [ "$(echo *.fc34.x86_64.rpm)" != "*.fc34.x86_64.rpm" ] && mv *.fc34.x86_64.rpm fc34/x86_64/ [ "$(echo *.fc35.i686.rpm)" != "*.fc35.i686.rpm" ] && mv *.fc35.i686.rpm fc35/i386/ [ "$(echo *.fc35.x86_64.rpm)" != "*.fc35.x86_64.rpm" ] && mv *.fc35.x86_64.rpm fc35/x86_64/ [ "$(echo *.fc36.i686.rpm)" != "*.fc36.i686.rpm" ] && mv *.fc36.i686.rpm fc36/i386/ [ "$(echo *.fc36.x86_64.rpm)" != "*.fc36.x86_64.rpm" ] && mv *.fc36.x86_64.rpm fc36/x86_64/ [ "$(echo *.fc37.i686.rpm)" != "*.fc37.i686.rpm" ] && mv *.fc37.i686.rpm fc37/i386/ [ "$(echo *.fc37.x86_64.rpm)" != "*.fc37.x86_64.rpm" ] && mv *.fc37.x86_64.rpm fc37/x86_64/ # Note: mingw debug* packages are noarch [ "$(echo *.fc38.i686.rpm)" != "*.fc38.i686.rpm" ] && mv *.fc38.i686.rpm fc38/i386/ [ "$(echo *.fc38.x86_64.rpm)" != "*.fc38.x86_64.rpm" ] && mv *.fc38.x86_64.rpm fc38/x86_64/ [ "$(echo *.fc38.noarch.rpm)" != "*.fc38.noarch.rpm" ] && ln *.fc38.noarch.rpm fc38/i386/ [ "$(echo *.fc38.noarch.rpm)" != "*.fc38.noarch.rpm" ] && mv *.fc38.noarch.rpm fc38/x86_64/ [ "$(echo *.fc39.i686.rpm)" != "*.fc39.i686.rpm" ] && mv *.fc39.i686.rpm fc39/i386/ [ "$(echo *.fc39.x86_64.rpm)" != "*.fc39.x86_64.rpm" ] && mv *.fc39.x86_64.rpm fc39/x86_64/ [ "$(echo *.fc39.noarch.rpm)" != "*.fc39.noarch.rpm" ] && ln *.fc39.noarch.rpm fc39/i386/ [ "$(echo *.fc39.noarch.rpm)" != "*.fc39.noarch.rpm" ] && mv *.fc39.noarch.rpm fc39/x86_64/ [ "$(echo *.fc40.i686.rpm)" != "*.fc40.i686.rpm" ] && mv *.fc40.i686.rpm fc40/i386/ [ "$(echo *.fc40.x86_64.rpm)" != "*.fc40.x86_64.rpm" ] && mv *.fc40.x86_64.rpm fc40/x86_64/ [ "$(echo *.fc40.noarch.rpm)" != "*.fc40.noarch.rpm" ] && ln *.fc40.noarch.rpm fc40/i386/ [ "$(echo *.fc40.noarch.rpm)" != "*.fc40.noarch.rpm" ] && mv *.fc40.noarch.rpm fc40/x86_64/ [ "$(echo *.fc41.i686.rpm)" != "*.fc41.i686.rpm" ] && mv *.fc41.i686.rpm fc41/i386/ [ "$(echo *.fc41.x86_64.rpm)" != "*.fc41.x86_64.rpm" ] && mv *.fc41.x86_64.rpm fc41/x86_64/ [ "$(echo *.fc41.noarch.rpm)" != "*.fc41.noarch.rpm" ] && ln *.fc41.noarch.rpm fc41/i386/ [ "$(echo *.fc41.noarch.rpm)" != "*.fc41.noarch.rpm" ] && mv *.fc41.noarch.rpm fc41/x86_64/ [ "$(echo *.fc42.i686.rpm)" != "*.fc42.i686.rpm" ] && mv *.fc42.i686.rpm fc42/i386/ [ "$(echo *.fc42.x86_64.rpm)" != "*.fc42.x86_64.rpm" ] && mv *.fc42.x86_64.rpm fc42/x86_64/ [ "$(echo *.fc42.noarch.rpm)" != "*.fc42.noarch.rpm" ] && ln *.fc42.noarch.rpm fc42/i386/ [ "$(echo *.fc42.noarch.rpm)" != "*.fc42.noarch.rpm" ] && mv *.fc42.noarch.rpm fc42/x86_64/ [ "$(echo *.fc43.i686.rpm)" != "*.fc43.i686.rpm" ] && mv *.fc43.i686.rpm development/i386/ [ "$(echo *.fc43.x86_64.rpm)" != "*.fc43.x86_64.rpm" ] && mv *.fc43.x86_64.rpm development/x86_64/ [ "$(echo *.fc43.noarch.rpm)" != "*.fc43.noarch.rpm" ] && ln *.fc43.noarch.rpm development/i386/ [ "$(echo *.fc43.noarch.rpm)" != "*.fc43.noarch.rpm" ] && mv *.fc43.noarch.rpm development/x86_64/ [ "$(echo *.rhel8.x86_64.rpm)" != "*.rhel8.x86_64.rpm" ] && mv *.rhel8.x86_64.rpm rhel8/x86_64/ [ "$(echo *.el8.x86_64.rpm)" != "*.el8.x86_64.rpm" ] && mv *.el8.x86_64.rpm rhel8/x86_64/ [ "$(echo *.rhel9.x86_64.rpm)" != "*.rhel9.x86_64.rpm" ] && mv *.rhel9.x86_64.rpm rhel9/x86_64/ [ "$(echo *.el9.x86_64.rpm)" != "*.el9.x86_64.rpm" ] && mv *.el9.x86_64.rpm rhel9/x86_64/ [ "$(echo *.rhel10.x86_64.rpm)" != "*.rhel10.x86_64.rpm" ] && mv *.rhel10.x86_64.rpm rhel10/x86_64/ [ "$(echo *.el10.x86_64.rpm)" != "*.el10.x86_64.rpm" ] && mv *.el10.x86_64.rpm rhel10/x86_64/