From 10bd10b9d1c4b8c2cb73e7a97bb5740b62e0e4a5 Mon Sep 17 00:00:00 2001 From: mikecarper <135079168+mikecarper@users.noreply.github.com> Date: Thu, 31 Jul 2025 04:02:09 -0700 Subject: [PATCH] bugfix Syntax error: "(" unexpected in device-update.sh (#7514) * Update device-update.sh to use /bin/bash * Update meshtasticd.postinst to use /bin/bash * Update meshtasticd.postrm to use /bin/bash --- bin/device-update.sh | 2 +- debian/meshtasticd.postinst | 2 +- debian/meshtasticd.postrm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/device-update.sh b/bin/device-update.sh index ce0b5e434..2196d3af9 100755 --- a/bin/device-update.sh +++ b/bin/device-update.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash PYTHON=${PYTHON:-$(which python3 python|head -n 1)} CHANGE_MODE=false diff --git a/debian/meshtasticd.postinst b/debian/meshtasticd.postinst index fe0dbc332..d569cb43e 100755 --- a/debian/meshtasticd.postinst +++ b/debian/meshtasticd.postinst @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # postinst script for meshtasticd # # see: dh_installdeb(1) diff --git a/debian/meshtasticd.postrm b/debian/meshtasticd.postrm index bb2c32a5b..dc25680a8 100755 --- a/debian/meshtasticd.postrm +++ b/debian/meshtasticd.postrm @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # postrm script for meshtasticd # # see: dh_installdeb(1)