[X2Go-Commits] [x2goserver] 01/01: debian/rules: don't fail if we don't have the systemd addon.

git-admin at x2go.org git-admin at x2go.org
Wed Mar 1 12:39:27 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 7562177820e42a15dabc05f92bd7d0b88516c26e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Mar 1 12:38:48 2017 +0100

    debian/rules: don't fail if we don't have the systemd addon.
    
    Systems that don't have that will likely not use systemd in the first
    place.
---
 debian/changelog |    2 ++
 debian/rules     |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 68f0b6b..42ec0ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,8 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
     - Add BD on dh-systemd. We'll need it for systemd integration.
   * debian/rules:
     - Call the systemd addon to process and install the systemd service file.
+    - Don't fail if we don't have the systemd addon. Systems that don't have
+      that will likely not use systemd in the first place.
 
   [ Martti Pitkänen ]
   * debian/po:
diff --git a/debian/rules b/debian/rules
index 6d89dd2..a4cb085 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	PREFIX=/usr dh ${@} --with=systemd
+	PREFIX=/usr dh ${@} --with=systemd || PREFIX=/usr dh ${@}
 
 override_dh_auto_install:
 	if [ -f ChangeLog.gitlog ]; then cp ChangeLog.gitlog ChangeLog; 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