Files
linux_tools/sbin/neal-setup
2021-01-22 10:13:40 -05:00

57 lines
978 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 Database linux_tools Multimedia Pynomicon Radio Robotics
do
echo "ProbeStar: $i"
if [ -d $i ]; then
cd $i
git pull
git status
cd ..
else
git clone https://www.probestar.com/PStar/$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