added a check to bashrc install
This commit is contained in:
parent
306e13dfba
commit
079689f52f
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue