From 4daf9509997e96ee7f435b2e099fc868a704e1c4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 15 Jun 2015 13:56:53 +0200 Subject: [PATCH] MT#12713 jessie support: do not fail under needrestart If $SHELL is invalid then the needrestart dpkg hook fails to execute, see Debian's BTS #788819 Change-Id: I29558d8bef0b5545fb18b08ed5559f25e7d69b5c --- deployment.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment.sh b/deployment.sh index 3162a00..edf3f55 100755 --- a/deployment.sh +++ b/deployment.sh @@ -26,6 +26,9 @@ fi export LC_ALL=C export LANG=C +# avoid SHELL being set but not available, causing needrestart failure, see #788819 +unset SHELL + # defaults DEFAULT_INSTALL_DEV=eth0 DEFAULT_IP1=192.168.255.251