This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
core/util/update_addon_repo
2015-02-20 14:07:24 -08:00

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