From 3dab26c6797b32926287f22a041380080551060b Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 20:50:48 +0100 Subject: pici rendrakás --- mayor-installer-mod/install.d/15createconfig.sh | 43 ------------------------- 1 file changed, 43 deletions(-) delete mode 100755 mayor-installer-mod/install.d/15createconfig.sh (limited to 'mayor-installer-mod/install.d/15createconfig.sh') diff --git a/mayor-installer-mod/install.d/15createconfig.sh b/mayor-installer-mod/install.d/15createconfig.sh deleted file mode 100755 index 8d035fe1..00000000 --- a/mayor-installer-mod/install.d/15createconfig.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# - -cat < " - PW=(pwgen -s1 32) - cat "$MAYORDIR/config/$file.example" | sed s/%SQLPW%/$PW/ > "$MAYORDIR/config/$file" - echo $file - fi -done - -echo -n " module-naplo/config.php.example --> " -PW=$(pwgen -s1 32) -PWREAD=$(pwgen -s1 32) -if [ -e "$MAYORDIR/config/module-naplo/config.php" ]; then echo " module-naplo/config.php létezik."; else - cat "$MAYORDIR/config/module-naplo/config.php.example" | sed -e s/%SQLPW%/$PW/ -e s/%SQLPWREAD%/$PWREAD/ > "$MAYORDIR/config/module-naplo/config.php" - echo "module-naplo/config.php" -fi - -if [ -e "$MAYORDIR/config/skin-classic/naplo-config.php" ]; then echo " skin-classic/naplo-config.php létezik."; else - echo -n " skin-classic/naplo-config.php.example --> " - cp $MAYORDIR/config/skin-classic/naplo-config.php.example $MAYORDIR/config/skin-classic/naplo-config.php - echo "config/skin-classic/naplo-config.php" -fi -- cgit v1.2.3