ppr/repoadd.sh

15 lines
188 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
mv $1.files.tar.gz ppr.files
mv $1.db.tar.gz ppr.db