blob: 5abe7ba24c77cdc676706b3d257b872d8aba3629 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
set -e
for i in $(find /etc/ikiwiki/piny/* -maxdepth 0 -type f -iname '*.setup' -printf "%f\n" | perl -pe 's/.setup$//'); do
echo Rebuilding $i...
sudo sudo rebuildrepo $i; # two sudos needed to clear out $SUDO_USER
done
|