[pkg-remote-commits] [x2goserver] 01/02: debian/rules: Avoid FTBFS during arch:all, source builds.

Mike Gabriel sunweaver at debian.org
Wed Aug 30 14:44:22 UTC 2017


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

sunweaver pushed a commit to branch master
in repository x2goserver.

commit a5a9070be3fb35f318dda5950c6e721857de473d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Aug 30 16:41:39 2017 +0200

    debian/rules: Avoid FTBFS during arch:all,source builds.
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 23a73bc..3db12e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,12 @@ override_dh_auto_install:
 
 override_dh_install:
 	dh_install
-	chmod 0755 debian/x2goserver-x2goagent/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features
+
+	# on arch: all-only,source builds, the x2goserver-x2goagent.features file is non-present.
+	# so let's handle this gracefully...
+	if [ -e debian/x2goserver-x2goagent/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features ]; then \
+	    chmod 0755 debian/x2goserver-x2goagent/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features; \
+	fi
 
 override_dh_auto_clean:
 	rm -fv x2gosqlitewrapper

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/x2goserver.git



More information about the pkg-remote-commits mailing list