summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM.Reynolds2016-06-07 08:06:35 -0400
committerM.Reynolds2016-06-07 08:06:35 -0400
commita0a49ed7d38bad7d90542d2da9135c351e1c441c (patch)
tree1e71ef47e4340f1d6f0aa1bce56401d7d89ddb7e
parent5b90acde480fd84ae0fc467001c988bcaebbb86d (diff)
downloadaur-a0a49ed7d38bad7d90542d2da9135c351e1c441c.tar.gz
Add configuration file to package backup array.
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
-rw-r--r--raid-check-systemd.install2
3 files changed, 5 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b08732af553..b870d7b4b0ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,6 +10,7 @@ pkgbase = raid-check-systemd
depends = mdadm
depends = systemd
conflicts = raid-check
+ backup = etc/conf.d/raid-check
source = http://mirror.centos.org/centos/7/os/x86_64/Packages/mdadm-3.3.2-7.el7.x86_64.rpm
source = raid-check.service
source = raid-check.timer
diff --git a/PKGBUILD b/PKGBUILD
index 8ef7b742dda4..0e7f698583e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,8 @@ source=("http://mirror.centos.org/centos/7/os/x86_64/Packages/mdadm-$pkgver-$_ce
sha256sums=('b319904cfb0d5dd20e8cf9e7bd781d77b0aaca9f932ebf0c950bf9ad4dcd400c'
'90db8f53984df9d7ab32fde09a853632e9d76cbd91224c0efd760406118af84b'
'd023663e888500f1e75466935a47e16f705442e004a526115b054c932535f462')
-install=$pkgname.install
+backup=('etc/conf.d/raid-check')
+install="$pkgname.install"
# --- Source package is also available from the Fedora project mirrors ---
# https://mirrors.kernel.org/fedora/releases/23/Everything/x86_64/os/Packages/m/mdadm-3.3.2-2.fc23.x86_64.rpm
diff --git a/raid-check-systemd.install b/raid-check-systemd.install
index 26d9422be49f..a53345a9b035 100644
--- a/raid-check-systemd.install
+++ b/raid-check-systemd.install
@@ -7,4 +7,6 @@ post_install() {
echo "To override defaults copy timer file and modify:"
ehco "/usr/lib/systemd/system/raid-check.timer --> /etc/systemd/system/raid-check.timer"
echo "Modifications made to the timer in /usr/lib/systemd will be overwritten."
+ echo ""
+ echo "System configuration in file: /etc/conf.d/raid-check"
}