aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"