aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-16 00:47:26 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-16 00:47:26 +0200
commitec5470a427d0e5f65d9f0ab9d55070af7c85f0be (patch)
tree2d952de79d3f9a6acb25f4610361a4de00921da6 /install.sh
parent8a83b7243a098a4c06b71f6727252d9d6cdecd49 (diff)
downloadarching-kaos-tools-ec5470a427d0e5f65d9f0ab9d55070af7c85f0be.tar.gz
arching-kaos-tools-ec5470a427d0e5f65d9f0ab9d55070af7c85f0be.tar.bz2
arching-kaos-tools-ec5470a427d0e5f65d9f0ab9d55070af7c85f0be.zip
Bug fix
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