projects
/
mirror
/
dsa-wiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not pull in half the world from -backports
[mirror/dsa-wiki.git]
/
bin
/
update-wiki
diff --git
a/bin/update-wiki
b/bin/update-wiki
index
3547c28
..
98b0b5a
100755
(executable)
--- a/
bin/update-wiki
+++ b/
bin/update-wiki
@@
-12,7
+12,14
@@
UPDATE=1
[ "$UPDATE" != 1 ] || ( cd "$WC" && env -i git pull )
[ "$UPDATE" != 1 ] || ( cd "$WC" && env -i git pull )
-env -i ikiwiki \
+if [ "$UPDATE" != 1 ]; then
+ GITPLUGIN=""
+else
+ GITPLUGIN="--plugin git"
+fi
+
+env -i "HOME=$HOME" \
+ ikiwiki \
--timeformat '%F' \
--wikiname 'DSA' \
--url "$URL" \
--timeformat '%F' \
--wikiname 'DSA' \
--url "$URL" \
@@
-21,15
+28,15
@@
env -i ikiwiki \
--templatedir "$WC/templates" \
--no-discussion \
--refresh \
--templatedir "$WC/templates" \
--no-discussion \
--refresh \
-
--atom \
-
--rss \
+ --atom \
+ --rss \
--plugin template \
--plugin toggle \
--plugin inline \
--plugin sidebar \
--plugin table \
--plugin creole \
--plugin template \
--plugin toggle \
--plugin inline \
--plugin sidebar \
--plugin table \
--plugin creole \
-
--plugin git
\
+
$GITPLUGIN
\
--disable-plugin openid \
--disable-plugin sandbox \
--disable-plugin passwordauth \
--disable-plugin openid \
--disable-plugin sandbox \
--disable-plugin passwordauth \