blob: e16b4b7aa70a4abdc64e050ada9fd67dfde1bc95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
export LANG=C
cd /repo
for dep in SRPMS fedora/??/*/{i386,x86_64} enterprise/?/*/{i386,x86_64,armhfp,aarch64}
do
### [[ $dep =~ /modular ]] && continue
[ -d $dep/headers ] && continue
if [ $dep/repodata -nt $dep/repoview ]; then
pushd $dep
nom=${PWD#/repo/}
repoview \
--url http://rpms.remirepo.net/$nom \
--template-dir /repo/repotmpl \
--quiet \
--title "Remi's RPM repository - ${nom//\// - }" \
. && touch repoview
popd
fi
done
|