Created
December 3, 2012 14:10
-
-
Save splitbrain/4195252 to your computer and use it in GitHub Desktop.
initialises the ICKE wiki repositories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Usage: wget -qO- https://raw.github.com/gist/4195252/ickeinit.sh |sh -s <installdir> | |
DIR="$1" | |
if [ -z "$DIR" ] | |
then | |
echo "Please give install directory as first parameter." | |
exit | |
fi | |
if [ -d "$DIR" ] | |
then | |
echo "Install directory already exists. Cowardly refuse." | |
exit | |
fi | |
mkdir -p "$DIR" | |
cd "$DIR" | |
pwd | |
# DokuWiki | |
git clone [email protected]:splitbrain/dokuwiki.git . | |
git checkout stable | |
# ICKE Template | |
git clone [email protected]:cosmocode/icke-template.git lib/tpl/icke | |
# CosmoCode plugins (old naming) | |
for PLUGIN in ajaxloader edittable fancysearch qc quicksubscribe starred tagging userpagecreate sqlite | |
do | |
git clone [email protected]:cosmocode/$PLUGIN.git lib/plugins/$PLUGIN | |
done | |
# CosmoCode plugins (new naming) | |
for PLUGIN in labeled | |
do | |
git clone [email protected]:cosmocode/dokuwiki-plugin-$PLUGIN.git lib/plugins/$PLUGIN | |
done | |
# splitbrain plugins | |
for PLUGIN in data bureaucracy | |
do | |
git clone [email protected]:splitbrain/dokuwiki-plugin-$PLUGIN.git lib/plugins/$PLUGIN | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment