[X2Go-Commits] [x2goserver] 01/01: debian/x2goserver-xsession.post{inst, rm}: fix syntax errors.
git-admin at x2go.org
git-admin at x2go.org
Tue Jul 31 23:12:14 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 38c1c7aa784d2e2491bd00d0061485d5c86e84d3
Author: Mihai Moldovan <ionic at ionic.de>
Date: Tue Jul 31 23:12:00 2018 +0200
debian/x2goserver-xsession.post{inst,rm}: fix syntax errors.
---
debian/changelog | 2 ++
debian/x2goserver-xsession.postinst | 2 +-
debian/x2goserver-xsession.postrm | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f91216c..85407d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ x2goserver (4.1.0.2-0x2go1) UNRELEASED; urgency=medium
While on Debian, that's only Wheezy and lower and we don't care about
these versions anyway, Ubuntu Trusty/14.04 is sadly still supported and
needs to be provided a proper workaround for now.
+ * debian/x2goserver-xsession.post{inst,rm}:
+ + Fix syntax errors.
-- X2Go Release Manager <git-admin at x2go.org> Fri, 27 Jul 2018 07:06:39 +0200
diff --git a/debian/x2goserver-xsession.postinst b/debian/x2goserver-xsession.postinst
index e1c6d0f..7ca425b 100755
--- a/debian/x2goserver-xsession.postinst
+++ b/debian/x2goserver-xsession.postinst
@@ -58,7 +58,7 @@ case "${1}" in
SYMLINK_TARGET='/etc/X11/Xsession.d'
[ -d "${PATHNAME}.dpkg-backup" ] &&
[ ! -h "${PATHNAME}" ] && [ -d "${PATHNAME}" ] &&
- [ -f "${PATHNAME}/.dpkg-staging-dir" ]; then
+ [ -f "${PATHNAME}/.dpkg-staging-dir" ] &&
finish_dir_to_symlink "${PATHNAME}" "${SYMLINK_TARGET}"
fi
;;
diff --git a/debian/x2goserver-xsession.postrm b/debian/x2goserver-xsession.postrm
index b827a91..afe1535 100755
--- a/debian/x2goserver-xsession.postrm
+++ b/debian/x2goserver-xsession.postrm
@@ -60,6 +60,7 @@ case "${1}" in
dpkg --compare-versions -- "${2}" le-nl '4.1.0.2-0~' &&
abort_dir_to_symlink "${PATHNAME}"
fi
+ ;;
'remove'|'upgrade'|'failed-upgrade'|'disappear')
;;
*)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list