mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-21 10:01:38 +01:00
Made prepare-linux.sh not clobber on already prepared .bashrc
This commit is contained in:
parent
5c58f333cb
commit
7e0bb74f06
@ -558,6 +558,8 @@ find . -name .git | while read line; do
|
||||
popd
|
||||
done
|
||||
|
||||
if ! grep -q "function killallbyname() {" $ROOT_DIR/.bashrc ; then
|
||||
|
||||
# Append some stuff to bashrc
|
||||
cat <<'EOF' >> $ROOT_DIR/.bashrc
|
||||
|
||||
@ -836,3 +838,5 @@ alias gitclone='git clone --recurse-submodules'
|
||||
EOF
|
||||
|
||||
sed -i -r "s:~/:$ROOT_DIR/:" $ROOT_DIR/.bashrc
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user