Fix typo in koschei refresh script

This commit is contained in:
Michael Simacek 2016-05-23 09:07:01 +02:00
parent 678ccbcfa7
commit b02601b637

View file

@ -5,7 +5,7 @@ if [ "$#" -lt 2 ]; then
fi fi
set -e set -e
repodata=`find /var/cache/koschei/repodata/ -maxdepth 1 -type d -name 'primary-f*' | sort -nr | head -n1` repodata=`find /var/cache/koschei/repodata/ -maxdepth 1 -type d -name 'primary-f*' | sort -nr | head -n1`
repoid=`basename repodata` repoid=`basename $repodata`
group=$1 group=$1
shift shift
dnf repoquery --repofrompath "$repoid,$repodata/x86_64" --repoid "$repoid" --qf '%{sourcerpm}' "$@" | sed 's|-[^-]*-[^-]*$||' | koschei-admin edit-group "$group" --content-from-file - --append dnf repoquery --repofrompath "$repoid,$repodata/x86_64" --repoid "$repoid" --qf '%{sourcerpm}' "$@" | sed 's|-[^-]*-[^-]*$||' | koschei-admin edit-group "$group" --content-from-file - --append