16 lines
361 B
Plaintext
16 lines
361 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
#for package in $()
|
||
|
for dir in /usr/share/cybafelo/*/
|
||
|
do
|
||
|
dir_short_name=${dir%*/}
|
||
|
dir_short_name=${dir_short_name##*/}
|
||
|
|
||
|
if [ -d "$dir/.git" ]; then
|
||
|
echo "===========================starting============================ $dir_short_name"
|
||
|
cd $dir
|
||
|
git pull -all
|
||
|
echo "=============================done=============================="
|
||
|
fi
|
||
|
done
|