blob: d528468bdc86401ce2a1d31b8a6ae5bfae255320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/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
cd $dep
nom=${PWD#/repo/}
echo -e "\t$nom"
repoview \
--url http://rpms.remirepo.net/$nom \
--template-dir /repo/repotmpl \
--quiet \
--title "Remi's RPM repository - ${nom//\// - }" \
. && touch repoview
cd /repo
fi
done
echo "Done"
|