add bash script to help in add-repo command
This commit is contained in:
parent
18032acc36
commit
931fb24080
1 changed files with 14 additions and 0 deletions
14
repoadd.sh
Executable file
14
repoadd.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue