From 6f531bb8c56a1d06e4ab1e12875139c58e710c0a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 29 Apr 2017 14:46:21 +0200 Subject: fixup /bin/true no matter whether its shell or perl Signed-off-by: Holger Levsen --- update_jdn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index a8162750..e9dd4a6e 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -42,7 +42,7 @@ disable_dsa_check_packages() { # updated # ln -s /bin/true /usr/local/bin/dsa-check-packages was used which # broke /bin/true by overwriting it with the perl script dsa-check-packages - if grep -q '/usr/bin/perl' /bin/true ; then + if grep -q '/usr/bin/perl' /bin/true || grep -q '/usr/bin/perl' /bin/sh ; then sudo apt-get install --reinstall coreutils fi } -- cgit v1.2.3-54-g00ecf