projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3cb873
)
Make building locally work again
author
Peter Palfrader
<peter@palfrader.org>
Wed, 23 Sep 2009 09:33:43 +0000
(11:33 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 23 Sep 2009 09:33:43 +0000
(11:33 +0200)
bin/update-wiki
patch
|
blob
|
history
diff --git
a/bin/update-wiki
b/bin/update-wiki
index
3547c28
..
6847b0e
100755
(executable)
--- a/
bin/update-wiki
+++ b/
bin/update-wiki
@@
-12,6
+12,12
@@
UPDATE=1
[ "$UPDATE" != 1 ] || ( cd "$WC" && env -i git pull )
[ "$UPDATE" != 1 ] || ( cd "$WC" && env -i git pull )
+if [ "$UPDATE" != 1 ]; then
+ GITPLUGIN=""
+else
+ GITPLUGIN="--plugin git"
+fi
+
env -i ikiwiki \
--timeformat '%F' \
--wikiname 'DSA' \
env -i ikiwiki \
--timeformat '%F' \
--wikiname 'DSA' \
@@
-21,15
+27,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 \