You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
498 B
18 lines
498 B
2 years ago
|
#!/bin/sh
|
||
|
|
||
|
#git submodule update --recursive
|
||
|
git submodule foreach '
|
||
|
#creepy linux magic 2>&1 also pipes through stderr
|
||
|
#isUpToDate=$(git fetch -v 2>&1 | grep "aktuell")
|
||
|
#isUpToDate=""
|
||
|
if [ $name == "cairo-dock-git" ]
|
||
|
then
|
||
|
echo "Not up to date"
|
||
|
git pull
|
||
|
#fixes issue with makepkg ... git repo is not a clone of ...
|
||
|
unset GIT_DIR
|
||
|
makepkg
|
||
|
repo-add /mnt/pi-usb-ssd/gind-repo/x86_64/gind-repo.db.tar.gz $name*.pkg.tar.zst
|
||
|
mv $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/
|
||
|
fi
|
||
|
'
|