[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.226.180.158: ~ $
#!/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 <install | delete | --help>"
	echo "		install | -i :	Install a wiki on your computer."
	echo "		delete | -d : Delete the wiki and all its pages and "
	echo "			content."
}


# Argument: install, delete, --help | -h
case "$1" in
	"install" | "-i")
		wiki_install
		exit 0
		;;
	"delete" | "-d")
		wiki_delete
		exit 0
		;;
	"--help" | "-h")
		usage
		exit 0
		;;
	*)
		echo "Invalid argument: $1"
		usage
		exit 1
		;;
esac

Filemanager

Name Type Size Permission Actions
install-wiki Folder 0755
.gitignore File 45 B 0644
Makefile File 698 B 0644
README File 3.69 KB 0644
install-wiki.sh File 926 B 0644
push-pull-tests.sh File 3.01 KB 0644
t9360-mw-to-git-clone.sh File 9.2 KB 0644
t9361-mw-to-git-push-pull.sh File 587 B 0644
t9362-mw-to-git-utf8.sh File 9.65 KB 0644
t9363-mw-to-git-export-import.sh File 6.07 KB 0644
t9364-pull-by-rev.sh File 305 B 0644
test-gitmw-lib.sh File 11.81 KB 0644
test-gitmw.pl File 5.85 KB 0644
test.config File 932 B 0644