mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-20 16:50:41 -04:00
23 lines
395 B
Bash
Executable File
23 lines
395 B
Bash
Executable File
#!/usr/bin/env bash
|
|
if [ ! -d .git ]; then
|
|
echo Unable to update `pwd`
|
|
exit
|
|
fi
|
|
git pull
|
|
|
|
if [ -d extend ]; then
|
|
for a in theme addon widget ; do
|
|
if [ -d extend/$a ]; then
|
|
for b in `ls extend/$a` ; do
|
|
echo Updating $b
|
|
'util/update_'$a'_repo' $b
|
|
done
|
|
fi
|
|
done
|
|
fi
|
|
|
|
# Allow to run additional site specific commands
|
|
if [ -f util/udall_extra ]; then
|
|
source util/udall_extra
|
|
fi
|