[X2Go-Commits] [nx-libs] 01/04: debian/rules: Backup nxcomp/VERSION file from NoMachine before replacing it with a symlink to debian/VERSION. Recreate the original file when cleaning up.
git-admin at x2go.org
git-admin at x2go.org
Thu Jan 22 06:19:51 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 694523eeecf6b591e2929ab5830b9cb96b5f3bc4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Jan 22 06:06:37 2015 +0100
debian/rules: Backup nxcomp/VERSION file from NoMachine before replacing it with a symlink to debian/VERSION. Recreate the original file when cleaning up.
---
debian/changelog | 4 ++++
debian/rules | 2 ++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 19a12a8..3395cda 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,10 @@ nx-libs (2:3.5.0.29-0x2go1) UNRELEASED; urgency=medium
without.
* Update 320_nxagent_configurable-keystrokes.full.patch. Fix patch header
referring to keystrokes.cfg (plural), not keystroke.cfg.
+ * debian/rules:
+ + Backup nxcomp/VERSION file from NoMachine before replacing it with
+ a symlink to debian/VERSION. Recreate the original file when cleaning
+ up.
[ Horst Schirmeier ]
* Update 320_nxagent_configurable-keystrokes.full.patch. Fix a typo that
diff --git a/debian/rules b/debian/rules
index 0a7899b..02eaec1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@ override_dh_clean:
rm -f nx-X11/programs/nxauth/changelog
rm -Rf replace.sh Makefile bin rgb VERSION.x2goagent etc/keystrokes.cfg
rm -f debian/libnx-x11.postinst
+ if [ -f nxcomp/.VERSION.NoMachine ]; then mv nxcomp/.VERSION.NoMachine nxcomp/VERSION; fi
dh_clean
override_dh_auto_install:
@@ -32,6 +33,7 @@ override_dh_auto_build:
# create copies of upstream changelogs so that names apply to Debian policy...
cp -a nx-X11/CHANGELOG nx-X11/changelog
cp -a nxcomp/CHANGELOG nxcomp/changelog
+ if [ -f nxcomp/VERSION ]; then cp nxcomp/VERSION nxcomp/.VERSION.NoMachine; fi
cp -a nxcompext/CHANGELOG nxcompext/changelog
cp -a nxcompshad/CHANGELOG nxcompshad/changelog
cp -a nx-X11/programs/Xserver/hw/nxagent/CHANGELOG nx-X11/programs/Xserver/hw/nxagent/changelog
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list