This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 4ea8e26278a6945506a4834d2c7287177556cbf6 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Mar 7 04:35:24 2017 +0100 x2goserver.spec: make sure that there's always at least one (nil) command in the if command list. Cherry-picked from release/4.0.1.x branch. --- debian/changelog | 2 ++ x2goserver.spec | 3 +++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index 07ac322..abdc25d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -275,6 +275,8 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium - Make sure that we don't go into branches just because a macro is not defined on our platform. - Work around a bug in SuSE's mime DB update script... + - Make sure that there's always at least one (nil) command in the if + command list. * debian/po: - Tiny fixup on author name. * debian/control: diff --git a/x2goserver.spec b/x2goserver.spec index 9ecba91..e6c5568 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -690,6 +690,9 @@ if [ $1 -eq 0 ] ; then %elif 0{?fedora} && 0%{?fedora} < 25 /usr/bin/update-desktop-database &1>/dev/null 2>/dev/null || : # Check the post scriptlet for more information. +%else + # Need to have at least one command, do nothing. + : %endif fi -- Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git