fixed syntax error in bashrc test
This commit is contained in:
parent
996b283264
commit
628ebafbca
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -
|
||||
|
|
|
|||
Loading…
Reference in a new issue