From fead23c8493645241ec2f9c3514ffdd6e3177ad110527d5bd978386cb37822e5 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Fri, 20 Jul 2018 07:59:31 +0000 Subject: [PATCH] Accepting request 624216 from home:DocB:branches:Application:ERP:GNUHealth:Factory Warning in setup script added OBS-URL: https://build.opensuse.org/request/show/624216 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth?expand=0&rev=17 --- openSUSE-gnuhealth-setup | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/openSUSE-gnuhealth-setup b/openSUSE-gnuhealth-setup index 21d4177..ce67a6a 100644 --- a/openSUSE-gnuhealth-setup +++ b/openSUSE-gnuhealth-setup @@ -27,16 +27,16 @@ #----------------------------------------------------------------------------- # Change log #----------------------------------------------------------------------------- -# V 0.2 20180617 Axel Replace tryton with ${DB_USER} -# V 0.3 20180712 Axel Set user 'tryton' to superuser (otherwise installation of DMO-DB fails) - +# V 0.2 20180617 Axel Replace tryton with ${DB_USER} +# V 0.3 20180712 Axel Set user 'tryton' to superuser (otherwise installation of DEMO-DB fails) +# V 0.32 20180720 Axel Warning for production use added #----------------------------------------------------------------------------- # Variables declaration #----------------------------------------------------------------------------- #GNU Health installer for openSUSE version -VERSION="0.3" +VERSION="0.31" # Colors constants NONE="$(tput sgr0)" @@ -154,7 +154,7 @@ echo "Initializing database - this may take a while" echo ${DB_ADMIN_PWD} > /tmp/pw || bailout -sudo -u tryton env TRYTONPASSFILE=/tmp/pw trytond-admin -c /etc/tryton/trytond.conf --all -v -d ${DB_NAME} --password || bailout +sudo -u tryton env TRYTONPASSFILE=/tmp/pw trytond-admin -c /etc/tryton/trytond.conf --all -d ${DB_NAME} --password || bailout rm /tmp/pw || bailout @@ -168,6 +168,7 @@ systemctl enable gnuhealth fi echo "All done" +message "WARNING" "Please review your setup before using the system in production!" }