16 lines
170 B
Bash
Executable File
16 lines
170 B
Bash
Executable File
#!/bin/sh -f
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo usage: $0 repository
|
|
echo "Repositories:"
|
|
ls extend/addon
|
|
exit 1
|
|
fi
|
|
|
|
cd extend/addon/$1
|
|
|
|
if [ -d .git ] ; then
|
|
git pull
|
|
fi
|
|
|