diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-09-28 03:09:02 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-09-28 03:09:31 -0700 |
commit | ee3b9fc019f48d86bad49a5bb1e60178249f7975 (patch) | |
tree | f43c3dfe6dc2636b4a19cf3d01bafcad7bcec3ff /sys-fs/zfs-auto-snapshot | |
parent | sys-fs/inotify-tools: Don't build with -Werror by default (diff) | |
download | gentoo-ee3b9fc019f48d86bad49a5bb1e60178249f7975.tar.gz gentoo-ee3b9fc019f48d86bad49a5bb1e60178249f7975.tar.bz2 gentoo-ee3b9fc019f48d86bad49a5bb1e60178249f7975.zip |
sys-fs/zfs-auto-snapshot: fix minor qa issues
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs-auto-snapshot')
-rw-r--r-- | sys-fs/zfs-auto-snapshot/metadata.xml | 2 | ||||
-rw-r--r-- | sys-fs/zfs-auto-snapshot/zfs-auto-snapshot-1.2.4-r1.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/zfs-auto-snapshot/metadata.xml b/sys-fs/zfs-auto-snapshot/metadata.xml index c5c19289388a..3e7ea4e0074d 100644 --- a/sys-fs/zfs-auto-snapshot/metadata.xml +++ b/sys-fs/zfs-auto-snapshot/metadata.xml @@ -15,7 +15,7 @@ snapshots if it is installed. </longdescription> <use> - <flag name="cron">Install /etc/cron.* files and pull in <pkg>vritual/cron</pkg></flag> + <flag name="cron">Install /etc/cron.* files</flag> <flag name="default-exclude">Only take snapshots of datasets with com.sun:auto-snapshot=true property set</flag> </use> 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 index b1c288f934d1..b17e57c0c4ea 100644 --- 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 @@ -43,7 +43,7 @@ src_install() { exclude="$(usev default-exclude)" for unit in "${PN}"{-daily,-frequent,-hourly,-monthly,-weekly}.service; do cp "${FILESDIR}/${unit}" "${T}/${unit}" || die - eprefixify "${T}/${unit}" + eprefixify "${T}/${unit}" sed -i "s/@DEFAULT_EXCLUDE@/${exclude:+--default-exclude}/g" "${T}/${unit}" || die systemd_dounit "${T}/${unit}" done |