mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
18 lines
270 B
Text
18 lines
270 B
Text
|
#!/bin/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 $a ]; then
|
||
|
for b in `ls extend/$a` ; do
|
||
|
echo Updating $b
|
||
|
'util/update_'$a'_repo' $b
|
||
|
done
|
||
|
fi
|
||
|
done
|
||
|
fi
|