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:
parent
273dfe7de3
commit
fead23c849
@ -27,16 +27,16 @@
|
|||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Change log
|
# Change log
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# V 0.2 20180617 Axel Replace tryton with ${DB_USER}
|
# 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.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
|
# Variables declaration
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#GNU Health installer for openSUSE version
|
#GNU Health installer for openSUSE version
|
||||||
VERSION="0.3"
|
VERSION="0.31"
|
||||||
|
|
||||||
# Colors constants
|
# Colors constants
|
||||||
NONE="$(tput sgr0)"
|
NONE="$(tput sgr0)"
|
||||||
@ -154,7 +154,7 @@ echo "Initializing database - this may take a while"
|
|||||||
|
|
||||||
echo ${DB_ADMIN_PWD} > /tmp/pw || bailout
|
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
|
rm /tmp/pw || bailout
|
||||||
|
|
||||||
@ -168,6 +168,7 @@ systemctl enable gnuhealth
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "All done"
|
echo "All done"
|
||||||
|
message "WARNING" "Please review your setup before using the system in production!"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user