package/update.sh

22 lines
337 B
Bash
Raw Normal View History

2023-04-12 01:50:12 +02:00
#!/usr/bin/sh
2023-04-12 02:13:30 +02:00
git fetch --all
git reset --hard origin/master
2023-04-12 02:10:53 +02:00
2023-04-12 11:00:54 +02:00
rm -rf tonitch
2023-04-12 01:50:12 +02:00
mkdir -p tonitch
export PKGDEST=$(pwd)/tonitch
packagelist=$(find . -maxdepth 1 -type d -printf '%P\n' | sed '/tonitch/d' | sed '/\./d')
for d in $packagelist
do
cd $d
2023-04-12 10:22:41 +02:00
makepkg -f --nodeps
2023-04-12 02:40:59 +02:00
cd ..
2023-04-12 01:50:12 +02:00
done
cd $PKGDEST
repo-add tonitch.db.tar.gz *.pkg.tar.zst