ppr/repoadd.sh

15 lines
186 B
Bash
Raw Normal View History

#!/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
2022-04-12 22:55:22 +04:30
mv $1.files.tar.gz $1.files
mv $1.db.tar.gz $1.db