added a check to bashrc install

This commit is contained in:
pyr0ball 2023-05-09 12:55:26 -07:00
parent 306e13dfba
commit 079689f52f

View file

@ -103,8 +103,9 @@ dry-run-report(){
}
install(){
# If script is run as root, run global install
if [ ! -f $HOME/.bashrc.d/70-CodeDog.bashrc ] ; then
run echo -e "$codedog_bashrc" >> $HOME/.bashrc.d/70-CodeDog.bashrc && boxborder "bashc.d/70-CodeDog.bashrc installed..."
fi
export PATH="$PATH:$HOME/devl/CodeDog"
# Check for dependent applications and offer to install
if ! check-deps ; then