From ae7b8ab967aacab7695f045d571b5a41e1f7f26e Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sat, 27 Aug 2022 01:12:23 -0700 Subject: [PATCH] added installation check for append --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 92a6814..9fb8746 100644 --- a/install.sh +++ b/install.sh @@ -93,6 +93,9 @@ install(){ cp $rundir/lib/vimfiles/vimrc.local $HOME/.vimrc fi if [[ $(cat ${HOME}/.bashrc | grep -c pyr0) = 0 ]] ; then + echo -e $bashrc_append >> $HOME/.bashrc && center "bashc.d installed..." || fail "Unable to append .bashrc" + fi + crontab -l -u $runuser | cat - ${rundir}/lib/quickinfo.cron | crontab -u $runuser - check-deps if [[ "$bins_missing" != "false" ]] ; then warn "Some of the utilities needed by this script are missing"