Skip to content
This repository
Browse code

Wrong syntax for arithmetic expansion

Shall close #13
  • Loading branch information...
commit d2526e07aed0793278be53bd85f9514845d63b94 1 parent 649cf67
Mikhail Titov authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  debian/postinst
2  debian/postinst
@@ -36,7 +36,7 @@ case "$1" in
36 36 # db_get schwinn810/offset || true
37 37 OFF=$(date +%z)
38 38 OFF=${OFF%00}
39   - echo "OFFSET=$[-OFF]" >> $TMPFILE
  39 + echo "OFFSET=$((-OFF))" >> $TMPFILE
40 40
41 41 db_get schwinn810/debug || true
42 42 if [ x"$RET" = x"true" ]; then

0 comments on commit d2526e0

Please sign in to comment.
Something went wrong with that request. Please try again.