This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 51e4a7d67ac1964748f77e73c7c9e1078a152ae5 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Nov 16 02:55:59 2018 +0100 debian/x2goserver-desktopsharing.config: more curly braces, quotes etc. --- debian/changelog | 2 ++ debian/x2goserver-desktopsharing.config | 50 ++++++++++++++++----------------- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/debian/changelog b/debian/changelog index 789b031..616a29d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -57,6 +57,8 @@ x2goserver (4.1.0.3-0x2go1) UNRELEASED; urgency=medium + Also pass %{__global_{c{,pp},ld}flags} down via {C,LD}FLAGS. * debian/x2goserver-desktopsharing.postinst: + More curly braces, quotes etc. + * debian/x2goserver-desktopsharing.config: + + More curly braces, quotes etc. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 14 Aug 2018 16:41:40 +0200 diff --git a/debian/x2goserver-desktopsharing.config b/debian/x2goserver-desktopsharing.config index 7cdaf70..b281106 100755 --- a/debian/x2goserver-desktopsharing.config +++ b/debian/x2goserver-desktopsharing.config @@ -3,35 +3,35 @@ set -e # Source debconf library. -. /usr/share/debconf/confmodule +. '/usr/share/debconf/confmodule' -create_group="false" -if ! getent group "x2godesktopsharing" 1>/dev/null; then - db_input high x2goserver-desktopsharing/create-group-for-sharing || true +create_group='false' +if ! getent 'group' 'x2godesktopsharing' 1>'/dev/null'; then + db_input 'high' 'x2goserver-desktopsharing/create-group-for-sharing' || true db_go - db_get x2goserver-desktopsharing/create-group-for-sharing - create_group=$RET + db_get 'x2goserver-desktopsharing/create-group-for-sharing' + create_group="${RET}" fi -if [ "$create_group" = "true" ]; then - db_set x2goserver-desktopsharing/group-sharing "x2godesktopsharing" +if [ "${create_group}" = 'true' ]; then + db_set 'x2goserver-desktopsharing/group-sharing' 'x2godesktopsharing' else - db_input high x2goserver-desktopsharing/use-existing-group-for-sharing || true + db_input 'high' 'x2goserver-desktopsharing/use-existing-group-for-sharing' || true db_go - db_get x2goserver-desktopsharing/use-existing-group-for-sharing - use_existing_group=$RET + db_get 'x2goserver-desktopsharing/use-existing-group-for-sharing' + use_existing_group="${RET}" - if [ "$use_existing_group" = "true" ]; then - loop=1 - while [ $loop -eq 1 ]; do - db_input high x2goserver-desktopsharing/group-sharing || true + if [ "${use_existing_group}" = 'true' ]; then + loop='1' + while [ "${loop}" -eq '1' ]; do + db_input 'high' 'x2goserver-desktopsharing/group-sharing' || true db_go - db_get x2goserver-desktopsharing/group-sharing - group_sharing=$RET - if getent group $group_sharing 1>/dev/null; then - loop=0 + db_get 'x2goserver-desktopsharing/group-sharing' + group_sharing="${RET}" + if getent 'group' "${group_sharing}" 1>'/dev/null'; then + loop='0' else - db_input critical x2goserver-desktopsharing/no-such-group || true + db_input 'critical' 'x2goserver-desktopsharing/no-such-group' || true db_go continue fi @@ -39,12 +39,12 @@ else fi fi -db_input high x2goserver-desktopsharing/auto-start-on-logon || true +db_input 'high' 'x2goserver-desktopsharing/auto-start-on-logon' || true db_go -db_get x2goserver-desktopsharing/auto-start-on-logon -auto_start=$RET +db_get 'x2goserver-desktopsharing/auto-start-on-logon' +auto_start="${RET}" -if [ "$auto_start" = "true" ]; then - db_input high x2goserver-desktopsharing/auto-activate-on-logon || true +if [ "${auto_start}" = 'true' ]; then + db_input 'high' 'x2goserver-desktopsharing/auto-activate-on-logon' || true db_go fi -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git