Remove .old files

This commit is contained in:
Santiago Lo Coco 2022-02-04 17:25:25 -03:00
parent be0d6373fb
commit 25d80c6d3e
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
buildDatabase() {
repo-add -s -n -R -k "199980CE93F18E62" calrepo.db.tar.gz *.pkg.tar.zst
rm -rf *.old*
}
runScript() {
@ -15,4 +16,4 @@ runScript() {
cd "$lastFolder" || { echo "Couldn't cd into '$lastFolder'." 1>&2 && exit 1; }
}
runScript
runScript