5 # Change this when some incompatible change is made that requires
6 # rebuilding all wikis.
9 wikilist=/etc/ikiwiki/wikilist
15 if [ -z "$user" ] || [ -z "$setup" ]; then
16 echo "parse failure in /etc/ikiwiki/wikilist, line: '$user $setup'" >&2
20 if [ ! -f "$setup" ]; then
21 echo "warning: $setup specified in /etc/ikiwiki/wikilist does not exist, skipping" >&2
23 echo "Rebuilding $setup as user $user ..."
24 su "$user" -c "ikiwiki -setup $setup"
28 if [ "$1" = configure ] && [ -e $wikilist ] && \
29 dpkg --compare-versions "$2" lt "$firstcompat"; then
30 grep -v '^#' $wikilist | grep -v '^$' | while read line; do