package/update.sh
2023-04-12 02:40:59 +02:00

20 lines
312 B
Bash
Executable File

#!/usr/bin/sh
git fetch --all
git reset --hard origin/master
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
makepkg -f
cd ..
done
cd $PKGDEST
repo-add tonitch.db.tar.gz *.pkg.tar.zst