[X2Go-Commits] [x2goserver] 04/05: x2goserver.spec: make sure that there's always at least one (nil) command in the if command list.

git-admin at x2go.org git-admin at x2go.org
Tue Mar 7 04:39:42 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.

commit b5cd12ff55b14c6a52e99bbebb0c94d794ff3abc
Author: Mihai Moldovan <ionic at 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.
---
 debian/changelog | 2 ++
 x2goserver.spec  | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a24cd26..2bfbd79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,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 281cc08..3171943 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -547,6 +547,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


More information about the x2go-commits mailing list