From c675d0feeec8837944ae4a04e310ad1c8637f39f Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Tue, 10 Dec 2024 17:55:20 +0100 Subject: [PATCH] Escape backslashes in /etc/issue to prevent unwanted newlines (#2797) --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 3714df8d4..bf9a8938e 100755 --- a/debian/postinst +++ b/debian/postinst @@ -26,7 +26,7 @@ if [ -f /etc/default/grub ]; then fi # set local and remote login prompt -echo "StartOS v$(cat /usr/lib/startos/VERSION.txt) [\m] on \n.local (\l)" > /etc/issue +echo "StartOS v$(cat /usr/lib/startos/VERSION.txt) [\\m] on \\n.local (\\l)" > /etc/issue echo "StartOS v$(cat /usr/lib/startos/VERSION.txt)" > /etc/issue.net # change timezone