SaturnArch-REPO/update.sh

12 lines
327 B
Bash

# remove old DB
rm -f x86_64/saturn_repo*
# add packages to new DB
repo-add ./x86_64/saturn_repo.db.tar.zst ./x86_64/*.pkg.tar.zst
# fix links
rm ./x86_64/saturn_repo.db
mv ./x86_64/saturn_repo.db.tar.zst ./x86_64/saturn_repo.db
rm ./x86_64/saturn_repo.files
mv ./x86_64/saturn_repo.files.tar.zst ./x86_64/saturn_repo.files