summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-11 23:31:12 +0300
committerDevaev Maxim <[email protected]>2019-10-11 23:31:12 +0300
commitf8a4f59e13461514cc81fb3eaa26c131644cc73a (patch)
tree860de02c2ce38f72e441d16b47e2c3277b4850b3 /PKGBUILD
parent9bfdc164813a6a481df4dfd633f568e78d0b5df1 (diff)
minor fix for backup
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 52a924ff..e2ecd909 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -115,7 +115,6 @@ for _variant in "${_variants[@]}"; do
backup=(
etc/sysctl.d/99-kvmd.conf
etc/udev/rules.d/99-kvmd.rules
- etc/modules-load.d/kvmd.conf
etc/kvmd/main.yaml
)
@@ -126,6 +125,7 @@ for _variant in "${_variants[@]}"; do
cp configs/os/sysctl.conf \"\$pkgdir/etc/sysctl.d/99-kvmd.conf\"
cp configs/os/udev/$_platform-$_board.rules \"\$pkgdir/etc/udev/rules.d/99-kvmd.rules\"
if [ -f configs/os/modules-load/$_platform.conf ]; then
+ backup=(\"\${backup[@]}\" etc/modules-load.d/kvmd.conf)
cp configs/os/modules-load/$_platform.conf \"\$pkgdir/etc/modules-load.d/kvmd.conf\"
fi