From 9d3060af95b0ca477f9f197510146c68b224a4ab Mon Sep 17 00:00:00 2001 From: Christopher Young Date: Fri, 24 Jun 2016 17:15:43 -0400 Subject: [PATCH] Use sh syntax since previous versions execute the update script using /bin/sh. --- selfupdate/update_footer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfupdate/update_footer.sh b/selfupdate/update_footer.sh index 49fb8139..e0fe3711 100755 --- a/selfupdate/update_footer.sh +++ b/selfupdate/update_footer.sh @@ -5,7 +5,7 @@ cp -f libimu.so /usr/lib/libimu.so # Startup script. RASPBIAN_VERSION=`cat /etc/debian_version` -if [ "$RASPBIAN_VERSION" == "8.0" ] ; then +if test "$RASPBIAN_VERSION" = "8.0" ; then # Install the systemd startup scripts in any case, even if they won't be used. If this is being run, then the old init.d script # is still intact and we just leave it. If running Wheezy, then remove the old init.d script. rm -f /etc/init.d/stratux