SHA256
1
0
forked from pool/gnuhealth

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
This commit is contained in:
Axel Braun 2018-07-20 07:59:31 +00:00 committed by Git OBS Bridge
parent 273dfe7de3
commit fead23c849

View File

@ -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!"
}