script for making mirror
This commit is contained in:
parent
a76755e0f9
commit
045a7f13b9
15
update.sh
Executable file
15
update.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
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
|
||||
done
|
||||
|
||||
cd $PKGDEST
|
||||
repo-add tonitch.db.tar.gz *.pkg.tar.zst
|
Loading…
Reference in New Issue
Block a user