Remove db files

This commit is contained in:
Santiago Lo Coco 2022-02-06 00:59:30 -03:00
parent e999ddf977
commit ac2c7758a7
17 changed files with 19 additions and 8 deletions

View File

@ -1 +1 @@
calrepo.db.tar.gz
../db/calrepo.db.tar.gz

View File

@ -1 +1 @@
calrepo.db.tar.gz.sig
../db/calrepo.db.tar.gz.sig

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
calrepo.files.tar.gz
../db/calrepo.files.tar.gz

View File

@ -1 +1 @@
calrepo.files.tar.gz.sig
../db/calrepo.files.tar.gz.sig

Binary file not shown.

Binary file not shown.

View File

@ -2,6 +2,16 @@
# TODO: Get the .pkg.tar.zst from calpkgs
getAnyPackages() {
cd x86_64
while read -r pkg; do
ln -sf "$pkg" "$(basename $pkg)"
done < "$1"
cd ..
}
buildDatabase() {
lastFolder=$(pwd -P)
cd db || { echo "Couldn't cd into 'db'." 1>&2 && exit 1; }
@ -15,6 +25,7 @@ buildDatabase() {
}
runScript() {
getAnyPackages <(find -H "$PWD/any" -mindepth 1 -type f -regex '.*.pkg.tar.zst.*')
buildDatabase <(find -H "$PWD" -mindepth 1 -type f -regex '.*.pkg.tar.zst')
}

View File

@ -1 +1 @@
calrepo.db.tar.gz
../db/calrepo.db.tar.gz

View File

@ -1 +1 @@
calrepo.db.tar.gz.sig
../db/calrepo.db.tar.gz.sig

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
calrepo.files.tar.gz
../db/calrepo.files.tar.gz

View File

@ -1 +1 @@
calrepo.files.tar.gz.sig
../db/calrepo.files.tar.gz.sig

Binary file not shown.

Binary file not shown.