openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 2206475168390276d2bcb671ce96f69b77755a09
parent f5b71e0351b19aa3eacba36355e9e8df517af101
Author: Jan Dankert <devnull@localhost>
Date:   Wed, 14 Nov 2018 23:34:38 +0100

Nur noch 1 Skript für das Vorbereiten des Developer-Modus notwendig.

Diffstat:
dev-helper/create-output-files.sh | 19++++++++++++++++---
dev-helper/language-files-writable.sh | 7-------
2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/dev-helper/create-output-files.sh b/dev-helper/create-output-files.sh @@ -8,12 +8,25 @@ # Do NOT use this in production environments! # # +echo "Preparing for developer mode" +echo "----------------------------" +echo echo "Start ("as `whoami` ")" -function check + +function language { + for iso in de en es fr it ru cn; do + + touch ../modules/language/lang-$iso.php + chmod -v a+w ../modules/language/lang-$iso.php + done +} + +function check +{ for jsfile in `find modules/cms-ui/themes -name "*.js" -not -name "*.min.js"`; do jsfile="${jsfile%.*}" createfile $jsfile.min.js $jsfile.js @@ -76,4 +89,5 @@ function createfile fi } -check- \ No newline at end of file +language +check diff --git a/dev-helper/language-files-writable.sh b/dev-helper/language-files-writable.sh @@ -1,7 +0,0 @@ -#!/bin/bash - -for iso in de en es fr it ru cn; do - - touch ../modules/language/lang-$iso.php - chmod -v a+w ../modules/language/lang-$iso.php -done