1 |
commit: ee3b9fc019f48d86bad49a5bb1e60178249f7975 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 10:09:02 2020 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 10:09:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee3b9fc0 |
7 |
|
8 |
sys-fs/zfs-auto-snapshot: fix minor qa issues |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
sys-fs/zfs-auto-snapshot/metadata.xml | 2 +- |
14 |
sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild | 2 +- |
15 |
2 files changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-fs/zfs-auto-snapshot/metadata.xml b/sys-fs/zfs-auto-snapshot/metadata.xml |
18 |
index c5c19289388..3e7ea4e0074 100644 |
19 |
--- a/sys-fs/zfs-auto-snapshot/metadata.xml |
20 |
+++ b/sys-fs/zfs-auto-snapshot/metadata.xml |
21 |
@@ -15,7 +15,7 @@ |
22 |
snapshots if it is installed. |
23 |
</longdescription> |
24 |
<use> |
25 |
- <flag name="cron">Install /etc/cron.* files and pull in <pkg>vritual/cron</pkg></flag> |
26 |
+ <flag name="cron">Install /etc/cron.* files</flag> |
27 |
<flag name="default-exclude">Only take snapshots of datasets with com.sun:auto-snapshot=true property set</flag> |
28 |
</use> |
29 |
|
30 |
|
31 |
diff --git a/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild b/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild |
32 |
index b1c288f934d..b17e57c0c4e 100644 |
33 |
--- a/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild |
34 |
+++ b/sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild |
35 |
@@ -43,7 +43,7 @@ src_install() { |
36 |
exclude="$(usev default-exclude)" |
37 |
for unit in "${PN}"{-daily,-frequent,-hourly,-monthly,-weekly}.service; do |
38 |
cp "${FILESDIR}/${unit}" "${T}/${unit}" || die |
39 |
- eprefixify "${T}/${unit}" |
40 |
+ eprefixify "${T}/${unit}" |
41 |
sed -i "s/@DEFAULT_EXCLUDE@/${exclude:+--default-exclude}/g" "${T}/${unit}" || die |
42 |
systemd_dounit "${T}/${unit}" |
43 |
done |