Script updates

This commit is contained in:
2021-07-21 21:25:47 -04:00
parent 574c67272d
commit 7fd2c30099
4 changed files with 13 additions and 22 deletions

View File

@ -58,21 +58,16 @@ function do_dir {
for i in ProbeStar NTCNA CAMP Gits External
do
if [ -L "$i" ]; then
echo "$i: Symlinked"
echo "============="
elif [ -d "$i" ]; then
if [ "$i" == "ProbeStar" ]; then
$HOME/bin/pstar-update.sh
else
d=`echo "${i,,}"`
if [ -f $HOME/bin/$d-update.sh ]; then
$HOME/bin/$d-update.sh
elif [ -d $i ]; then
cd $i
do_dir $i
cd ..
fi
if [ "$i" == "ProbeStar" ]; then
$HOME/bin/pstar-update.sh
else
d=`echo "${i,,}"`
if [ -f $HOME/bin/$d-update.sh ]; then
$HOME/bin/$d-update.sh
elif [ -d $i ]; then
cd $i
do_dir $i
cd ..
fi
fi
done