package/update.sh
2023-04-12 02:10:53 +02:00

18 lines
267 B
Bash
Executable File

#!/usr/bin/sh
git pull
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
done
cd $PKGDEST
repo-add tonitch.db.tar.gz *.pkg.tar.zst