17 lines
370 B
Bash
Executable File
17 lines
370 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#for package in $()
|
|
for dir in /usr/share/gamewheel/*/
|
|
do
|
|
dir_short_name=${dir%*/}
|
|
dir_short_name=${dir_short_name##*/}
|
|
|
|
if [ -d "$dir/.git" ]; then
|
|
echo "===========================starting============================ $dir_short_name"
|
|
cd $dir
|
|
git branch
|
|
git pull
|
|
echo "=============================done=============================="
|
|
fi
|
|
done
|