From 958a721cf66eff27629b05d407a028e6f469e2b5 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 3 Mar 2012 21:49:47 +0100 Subject: 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! --- create-package.sh | 29 +++++++++++++++++++++++++++++ setup.php | 1 - 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100755 create-package.sh 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" -- cgit v1.2.3-70-g09d2