Upload files to "/"

This commit is contained in:
Jacob 2023-08-27 12:10:25 +00:00
parent e1bf0c8932
commit ab0efabf58
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*packages/.*
*zst*
*db*
*tar.gz*

2
aurmake Executable file → Normal file
View file

@ -6,7 +6,7 @@ source .OPT || exit 1
[ ! -d "packages/" ] && printf "No packages, exiting..\n" >> /dev/stderr && exit 1
cd packages/ || exit 1
rm ./*"${SERVER_NAME}"*
rm -f ./*"${SERVER_NAME}"*
repo-add -s -R "${SERVER_NAME}.db.tar.gz" *.pkg.tar.zst > /tmp/repo-add.log
find . -maxdepth 1 -type l -delete
cp "${SERVER_NAME}.db.tar.gz" "${SERVER_NAME}.db"