[X2Go-Commits] [live-build-x2go] 57/115: (temporary?) workaround to switch the default system shell from dash to bash

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:46:40 CET 2019


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

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-stretch
in repository live-build-x2go.

commit 127cb17f53623d1427698847b8a543e3105a72bf
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Dec 15 23:19:52 2018 +0100

    (temporary?) workaround to switch the default system shell from dash to bash
---
 config/includes.chroot/lib/live/config/0011-dash2bash | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/0011-dash2bash b/config/includes.chroot/lib/live/config/0011-dash2bash
new file mode 100755
index 0000000..49debe9
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/0011-dash2bash
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+Init ()
+{
+	echo -n " dash2bash"
+}
+
+Config ()
+{
+	while ! [ -f /var/lib/live/config/debconf ] ; do
+		sleep 1
+	done
+	dpkg-reconfigure --default-priority dash
+}
+
+Init
+Config

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list