This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 1f5a767 Add man page for x2gogetapps. Weave into that a security / disclaimer message as proposed by Stefan Baur. (Fixes: #728). new e0d0b94 x2goserver.spec: create DB file via x2godbadmin createdb if the file does not exist OR (exists and has zero size). Fixes installation problems. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: x2goserver.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit e0d0b94aec8495f1e5ec44a5f147746592d22476 Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Feb 7 01:58:53 2015 +0100 x2goserver.spec: create DB file via x2godbadmin createdb if the file does not exist OR (exists and has zero size). Fixes installation problems. --- x2goserver.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x2goserver.spec b/x2goserver.spec index b59304d..d4ab9a1 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -485,7 +485,8 @@ fi %post # Initialize the session database -if [ ! -s %{_localstatedir}/lib/x2go/x2go_sessions ]; then +# ... only, if the DB does not exist OR (it exists AND the file is empty) +if [ ! -e %{_localstatedir}/lib/x2go/x2go_sessions ] || ( [ -e %{_localstatedir}/lib/x2go/x2go_sessions ] && [ ! -s %{_localstatedir}/lib/x2go/x2go_sessions ] ); then if [ -d %{_datadir}/doc/packages/perl-X2Go-Server-DB ]; then if grep -E "^backend=sqlite.*" /etc/x2go/x2gosql/sql 1>/dev/null 2>&1; then %{_sbindir}/x2godbadmin --createdb 1>/dev/null 2>&1 || : -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git