From 628ebafbcaa324ccf37e579208400934e8b645ca Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 1 Sep 2022 23:11:03 -0700 Subject: [PATCH] fixed syntax error in bashrc test --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 04ab9fe..850d5a2 100644 --- a/install.sh +++ b/install.sh @@ -194,7 +194,7 @@ globalinstall(){ if [[ "${result[idx]}" == "true" ]] ; then #cp -r ${rundir}/lib/skel/* /etc/skel/ scp -r ${rundir}/lib/skel/.* /home/${selecteduser} - if [[ $(cat /home/${selecteduser}/.bashrc | grep -c prbl) = 0 ]] ; then + if [[ $(cat /home/${selecteduser}/.bashrc | grep -c prbl) == 0 ]] ; then echo -e $bashrc_append >> /home/${selecteduser}/.bashrc && boxborder "bashc.d installed..." || fail "Unable to append .bashrc" fi crontab -l -u $selecteduser | cat - ${rundir}/lib/quickinfo.cron | crontab -u $selecteduser -