From ec5470a427d0e5f65d9f0ab9d55070af7c85f0be Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 16 Dec 2024 00:47:26 +0200 Subject: Bug fix --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index ced9e89..08a7fde 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ countdown_seconds(){ default_countdown=5 if [ ! -z "$1" ] && [ -n "$1" ] then - if [ "$1" ~= '^[0-9]*$' ] + if [ "$(echo -n $1 | sed -e 's/^[0-9]*$//g')" == "" ] then countdown=$1 else -- cgit v1.2.3