added installation check for append
This commit is contained in:
parent
dc1d33597d
commit
ae7b8ab967
1 changed files with 3 additions and 0 deletions
|
|
@ -93,6 +93,9 @@ install(){
|
||||||
cp $rundir/lib/vimfiles/vimrc.local $HOME/.vimrc
|
cp $rundir/lib/vimfiles/vimrc.local $HOME/.vimrc
|
||||||
fi
|
fi
|
||||||
if [[ $(cat ${HOME}/.bashrc | grep -c pyr0) = 0 ]] ; then
|
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
|
check-deps
|
||||||
if [[ "$bins_missing" != "false" ]] ; then
|
if [[ "$bins_missing" != "false" ]] ; then
|
||||||
warn "Some of the utilities needed by this script are missing"
|
warn "Some of the utilities needed by this script are missing"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue