aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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