From a953ce87a2f5040b0b6ed6d74f13b32749c8e887 Mon Sep 17 00:00:00 2001 From: radikal Date: Sun, 27 Sep 2020 06:46:11 +0200 Subject: [PATCH] minor fix --- lch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lch b/lch index e5057e3..6443986 100755 --- a/lch +++ b/lch @@ -132,7 +132,9 @@ function check() } function rarInstall(){ - if [ $(uname -m) -eq "x86_64" ]; then + + if [[ $(uname -m) -eq "x86_64" ]] + then RAR_URL = "https://www.rarlab.com/rar/rarlinux-x64-5.9.1.tar.gz" else RAR_URL = "https://www.rarlab.com/rar/rarlinux-5.9.1.tar.gz"