add tools from ppr

This commit is contained in:
komeil Parseh 2022-04-12 22:56:15 +04:30
parent 0412d8a319
commit 7b4774e1bf
No known key found for this signature in database
GPG key ID: 1928AF673B1C4255
3 changed files with 50 additions and 0 deletions

14
repoadd.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
#set -x
if [ "$1" == "" ];then
echo "repoadd.sh <repo_name>"
exit 1
fi
cd x86_64
repo-add $1.db.tar.gz *pkg.tar.zst
mv $1.files.tar.gz ppr.files
mv $1.db.tar.gz ppr.db