diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog
index 75a0c21bbc9908476aa37121635b7886a269de26..a0f2ff1bb2dcb9443a01fa73364ff24a18bb8790 100644
--- a/smartmontools/ChangeLog
+++ b/smartmontools/ChangeLog
@@ -2,6 +2,8 @@ $Id$
 
 2022-04-24  Christian Franke  <franke@computer.org>
 
+	update-smart-drivedb.in: Don't use 'let' which is bash specific.
+
 	update-smart-drivedb.in: Don't use semicolon in sed scripts.
 	This also fixes a syntax error if sed requires ';' before '}'.
 
diff --git a/smartmontools/update-smart-drivedb.in b/smartmontools/update-smart-drivedb.in
index bd0208ff98f925cb48c85284cf43935b696c44b2..caeba9f1ed6849a011d40634453cc8a77d1cf993 100644
--- a/smartmontools/update-smart-drivedb.in
+++ b/smartmontools/update-smart-drivedb.in
@@ -527,7 +527,7 @@ gpg_verify()
   # Remove temp home dir, retry on failure
   i=0
   while ! out=`rm -f -r "$gnupgtmp" 2>&1`; do
-    let ++i
+    i=$((i+1))
     if [ $i -ge 10 ]; then
       echo "$out" >&2; break
     fi