Accepting request 460613 from Application:ERP:Tryton:Factory

bnc1026334

OBS-URL: https://build.opensuse.org/request/show/460613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2017-03-02 18:36:56 +00:00 committed by Git OBS Bridge
parent 4d57b812d5
commit b65f413de0
4 changed files with 18 additions and 6 deletions

View File

@ -78,7 +78,7 @@ Unlike the standard GNUHealth setup, openSUSE treats GNUHealth as add-on (additi
- you can use the openSUSE package manager (zypper or YaST) to install upgrades.
- all Tryton and GNUHealth modules are installed in the python directory /usr/lib/python/site-packages/trytond
Nevertheless, you can use gnuhealth-control to create database backups, install languages and updates. Make sure the version of gnuhealth_control ends on -openSUSE
Nevertheless, you can use gnuhealth-control to create database backups, install languages and updates. Make sure the version of gnuhealth-control ends on -openSUSE. gnuhealth-control should run as root, if in doubt.
In case you want to install additional Tryton modules, you need to include the Tryton repository:
zypper ar -f http://download.opensuse.org/repositories/Application:/ERP:/Tryton:/3.8/openSUSE_Leap_42.2 tryton

View File

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
# gnuhealth-control
# The GNU Health control center
@ -24,7 +24,7 @@
#
##############################################################################
VERSION="3.0.2-openSUSE"
VERSION="3.0.2.1-openSUSE"
TRYTON_URL="http://downloads.tryton.org"
GNUHEALTH_URL="http://ftp.gnu.org/gnu/health"
@ -44,7 +44,7 @@ usage: `basename $0` command [options]
Command:
version : Show version
backup : Backup he gnuhealth kernel, attach dir and database
backup : Backup the gnuhealth kernel, attach dir and database
update : Download and install the patches
getlang : Get and install / update the language pack code
status : Show environment and GNU Health Tryton server status
@ -170,7 +170,7 @@ do_backup()
cli_msg "INFO" "START Database Backup" | tee -a $INFOFILE
pg_dump $DB > $BACKDIR/backup\_$DB\_$BACKDATE || bailout
pg_dump --username=tryton -w --role=tryton $DB > $BACKDIR/backup\_$DB\_$BACKDATE || bailout
cli_msg "INFO" "Compressing Database Backup" | tee -a $INFOFILE

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Feb 25 17:51:41 UTC 2017 - axel.braun@gmx.de
- added DB-role to gnuhealh-control
updated documentation
-------------------------------------------------------------------
Mon Feb 20 10:28:42 UTC 2017 - axel.braun@gmx.de
- renamed gnuhealth_control to gnuhealth-control
fixed documentation
-------------------------------------------------------------------
Tue Feb 14 06:09:10 UTC 2017 - axel.braun@gmx.de

View File

@ -30,7 +30,7 @@ Release: 0
Url: http://health.gnu.org
Source: http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
Source1: GNUHealth.README.SUSE
Source2: gnuhealth_control
Source2: gnuhealth-control
BuildArch: noarch