/usr/share/doc/git/contrib/mw-to-git/t
NameSizeModeActions
install-wiki.sh11270644editdlrm
Makefile6980644editdlrm
push-pull-tests.sh30790644editdlrm
README37770644editdlrm
t9360-mw-to-git-clone.sh94350644editdlrm
t9361-mw-to-git-push-pull.sh5870644editdlrm
t9362-mw-to-git-utf8.sh98850644editdlrm
t9363-mw-to-git-export-import.sh68990644editdlrm
t9364-pull-by-rev.sh3050644editdlrm
t9365-continuing-queries.sh4850644editdlrm
test-gitmw-lib.sh112060644editdlrm
test-gitmw.pl60570644editdlrm
test.config11310644editdlrm
Edit: /usr/share/doc/git/contrib/mw-to-git/t/install-wiki.sh (1127B)
#!/bin/sh # This script installs or deletes a MediaWiki on your computer. # It requires a web server with PHP and SQLite running. In addition, if you # do not have MediaWiki sources on your computer, the option 'install' # downloads them for you. # Please set the CONFIGURATION VARIABLES in ./test-gitmw-lib.sh WIKI_TEST_DIR=$(cd "$(dirname "$0")" && pwd) if test -z "$WIKI_TEST_DIR" then WIKI_TEST_DIR=. fi . "$WIKI_TEST_DIR"/test-gitmw-lib.sh usage () { echo "usage: " echo " ./install-wiki.sh " echo " install | -i : Install a wiki on your computer." echo " delete | -d : Delete the wiki and all its pages and " echo " content." echo " start | -s : Start the previously configured lighttpd daemon" echo " stop : Stop lighttpd daemon." } # Argument: install, delete, --help | -h case "$1" in "install" | "-i") wiki_install exit 0 ;; "delete" | "-d") wiki_delete exit 0 ;; "start" | "-s") start_lighttpd exit ;; "stop") stop_lighttpd exit ;; "--help" | "-h") usage exit 0 ;; *) echo "Invalid argument: $1" usage exit 1 ;; esac