57 lines
977 B
Bash
Executable File
57 lines
977 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# directories
|
|
cd $HOME
|
|
mkdir bin misc tmp Projects Gits
|
|
|
|
# ProbeStar stuff
|
|
mkdir ProbeStar
|
|
cd ProbeStar
|
|
for i in Cnomicon CyberSecurity KnowledgeBase linux_tools Pynomicon Radio Robotics Software
|
|
do
|
|
echo "ProbeStar: $i"
|
|
if [ -d $i ]; then
|
|
cd $i
|
|
git pull
|
|
git status
|
|
cd ..
|
|
else
|
|
git clone https://github.com/nprobert/$i
|
|
fi
|
|
cd ..
|
|
ln -fs ProbeStar/$i
|
|
cd ProbeStar
|
|
done
|
|
cd $HOME
|
|
cp linux_tools/bin/* ~/bin
|
|
|
|
# NTCNA stuff
|
|
cd $HOME
|
|
mkdir NTCNA
|
|
cd NTCNA
|
|
for i in CVehicle NissanV2X PyVehicle ProberN
|
|
do
|
|
echo "NTCNA: $i"
|
|
if [ -d $i ]; then
|
|
cd $i
|
|
git pull
|
|
cd ..
|
|
else
|
|
git clone https://www.probestar.com/NTCNA-TP/$i
|
|
fi
|
|
done
|
|
cd $HOME
|
|
for i in CVehicle NissanV2X PyVehicle ProberN
|
|
do
|
|
ln -fs NTCNA/$i $i
|
|
done
|
|
|
|
exit 0
|
|
|
|
# Google
|
|
#cd Downloads
|
|
#echo "Google Chrome"
|
|
#wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
|
#sudo dpkg -i google-chrome-stable_current_amd64.deb
|
|
#sudo apt-get -f install
|