aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-03-03 21:49:47 +0100
committerKevin Chabowski <kevin@kch42.de>2012-03-03 21:49:47 +0100
commit958a721cf66eff27629b05d407a028e6f469e2b5 (patch)
treebf515f3cc9f1682a7e1b11dba14eec3baaac0831
parenta8aafff07b471e674b8085bafb10b6f41b98316c (diff)
downloadratatoeskr-cms-958a721cf66eff27629b05d407a028e6f469e2b5.tar.gz
ratatoeskr-cms-958a721cf66eff27629b05d407a028e6f469e2b5.tar.bz2
ratatoeskr-cms-958a721cf66eff27629b05d407a028e6f469e2b5.zip
Modified setup.php and added create-package.zip.
Requirement of session_doctor.php was removed from setup.php, since this is just a debugging tool and should never be on a productive installation!
-rwxr-xr-xcreate-package.sh29
-rw-r--r--setup.php1
2 files changed, 29 insertions, 1 deletions
diff --git a/create-package.sh b/create-package.sh
new file mode 100755
index 0000000..cf0f688
--- /dev/null
+++ b/create-package.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+git archive --format=tar -o r7r.tar master
+mkdir -p package/Ratatoeskr
+mv r7r.tar package/Ratatoeskr
+cd package/Ratatoeskr
+tar xf r7r.tar
+rm r7r.tar
+mkdir -p images/previews
+cd ratatoeskr/
+mkdir plugin_extradata/public
+mkdir templates/src/plugintemplates
+mkdir templates/transc
+cd libs
+wget https://raw.github.com/kch42/Stupid-Template-Engine/master/stupid_template_engine.php
+wget http://michelf.com/docs/projets/php-markdown-1.0.1o.zip
+unzip php-markdown-*.zip
+mv PHP\ Markdown\ */markdown.php .
+rm -rf PHP\ Markdown\ *
+rm php-markdown-*.zip
+wget http://sourceforge.net/projects/kses/files/latest/download
+unzip kses-*.zip
+mv kses-*/kses.php .
+rm -rf kses-*
+rm kses-*.zip
+cd ../..
+rm session_doctor.php
+cd ..
+zip -r Ratatoeskr.zip Ratatoeskr
diff --git a/setup.php b/setup.php
index 3db2fc9..f2b48c2 100644
--- a/setup.php
+++ b/setup.php
@@ -94,7 +94,6 @@ $files = array(
"/ratatoeskr/cms_style/images/error.png",
"/ratatoeskr/main.php",
"/ratatoeskr/plugin_extradata/private/.htaccess",
- "/session_doctor.php",
"/index.php",
"/setup.php",
"/css.php"