diff options
author | s7hoang | 2022-01-22 02:37:34 -0500 |
---|---|---|
committer | s7hoang | 2022-01-22 03:29:58 -0500 |
commit | 1c11729a1301a25f33de7e20605e6288f8472266 (patch) | |
tree | 81c64af69658607b7771fb37d4cdf98c428f98fd | |
parent | 2107595095a5326d9cdd74ccffd577da3551a840 (diff) | |
download | aur-1c11729a1301a25f33de7e20605e6288f8472266.tar.gz |
Remove Database Files From Backup + Add Service File
The database files are never actually created when installing (or
updating or removing) the package so there's no need to back them up.
On the otherhand the service file (and the other files in the
backuplist) are modifed or directly created by our package so it makes
sense to back these up.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ optdepends=() install=anki-sync-server.install source=('git+https://github.com/ankicommunity/anki-sync-server.git') md5sums=('SKIP') -backup=(opt/anki-sync-server/{auth.db,collections.db,session.db} etc/nginx/nginx.conf etc/nginx/sites-available/{anki-sync-server-http, anki-sync-server-https}) +backup=(etc/nginx/nginx.conf etc/nginx/sites-available/{anki-sync-server-http,anki-sync-server-https} usr/lib/systemd/system/anki-sync-server.service) _repo_dir_="$(basename ${source} | cut -f 1 -d '.')" _anki_dir_="${_repo_dir_}/src" |