summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel de Vicente2023-01-03 08:06:36 +0000
committerAngel de Vicente2023-01-03 08:06:36 +0000
commit585c7f9fe4ab4414c82fb6be1392a97c4a6cffe9 (patch)
tree6d33f009c6c93a4539f03a801357217e45c8e182
parentbad3ffac665fb0514830f1971ef51527a8d54219 (diff)
downloadaur-585c7f9fe4ab4414c82fb6be1392a97c4a6cffe9.tar.gz
Added backup option for configuration files
/etc/turbovncserver.conf and /etc/turbovncserver-security.conf are now protected, so that user changes to them will not be overwritten
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 02ba0ed1881b..4a4baf2ae9dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname="turbovnc"
pkgdesc="An optimized version of TightVNC"
pkgver=3.0.2
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.turbovnc.org/"
license=('GPL')
@@ -19,6 +19,8 @@ conflicts=('turbovnc-bin' 'tigervnc' 'tigervnc-svn' 'tightvnc')
replaces=('turbovnc-bin')
source=(${pkgname}-${pkgver}.tar.gz::https://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}.tar.gz/download
vncserver.service)
+backup=(etc/turbovncserver.conf
+ etc/turbovncserver-security.conf)
build() {
mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build