summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShulhan2022-07-11 22:18:02 +0700
committerShulhan2022-07-11 22:18:02 +0700
commit281405776423ff505509976fc55310706f647902 (patch)
tree85164cf317b2765e7fb9ec2c9bd71b85a650acfc
parent7d6c459d32725f014e9f548ece050594fe0f06f6 (diff)
downloadaur-rescached-git.tar.gz
all: backup existing files on etc
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 10 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6664a8ef46..ac0cc235130 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,9 +12,14 @@ pkgbase = rescached-git
makedepends = go>=1.16
depends = bash
provides = rescached
+ backup = etc/rescached/block.d/.pgl.yoyo.org
+ backup = etc/rescached/block.d/.someonewhocares.org
+ backup = etc/rescached/block.d/.winhelp2002.mvps.org
backup = etc/rescached/rescached.cfg
backup = etc/rescached/localhost.cert.pem
backup = etc/rescached/localhost.key.pem
+ backup = etc/rescached/localhost.pem
+ backup = etc/rescached/localhost.pem.key
source = rescached-git::git+https://github.com/shuLhan/rescached-go.git
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 900bc115009..92e2f7fcc40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,9 +21,14 @@ sha1sums=(
)
backup=(
+ 'etc/rescached/block.d/.pgl.yoyo.org'
+ 'etc/rescached/block.d/.someonewhocares.org'
+ 'etc/rescached/block.d/.winhelp2002.mvps.org'
'etc/rescached/rescached.cfg'
'etc/rescached/localhost.cert.pem'
'etc/rescached/localhost.key.pem'
+ 'etc/rescached/localhost.pem'
+ 'etc/rescached/localhost.pem.key'
)
install=rescached.install