diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sys-fs/zfs-auto-snapshot/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sys-fs/zfs-auto-snapshot/files')
-rw-r--r-- | sys-fs/zfs-auto-snapshot/files/zfs-auto-snapshot-1.2.4-drop-which.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-fs/zfs-auto-snapshot/files/zfs-auto-snapshot-1.2.4-drop-which.patch b/sys-fs/zfs-auto-snapshot/files/zfs-auto-snapshot-1.2.4-drop-which.patch new file mode 100644 index 000000000000..125cb3d1fc04 --- /dev/null +++ b/sys-fs/zfs-auto-snapshot/files/zfs-auto-snapshot-1.2.4-drop-which.patch @@ -0,0 +1,47 @@ +--- a/etc/zfs-auto-snapshot.cron.daily ++++ b/etc/zfs-auto-snapshot.cron.daily +@@ -1,6 +1,6 @@ + #!/bin/sh + + # Only call zfs-auto-snapshot if it's available +-which zfs-auto-snapshot > /dev/null || exit 0 ++command -v zfs-auto-snapshot > /dev/null || exit 0 + + exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 // +--- a/etc/zfs-auto-snapshot.cron.frequent ++++ b/etc/zfs-auto-snapshot.cron.frequent +@@ -1,3 +1,3 @@ + PATH="/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" + +-*/15 * * * * root which zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --quiet --syslog --label=frequent --keep=4 // ++*/15 * * * * root command -v zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --quiet --syslog --label=frequent --keep=4 // +--- a/etc/zfs-auto-snapshot.cron.hourly ++++ b/etc/zfs-auto-snapshot.cron.hourly +@@ -1,6 +1,6 @@ + #!/bin/sh + + # Only call zfs-auto-snapshot if it's available +-which zfs-auto-snapshot > /dev/null || exit 0 ++command -v zfs-auto-snapshot > /dev/null || exit 0 + + exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 // +--- a/etc/zfs-auto-snapshot.cron.monthly ++++ b/etc/zfs-auto-snapshot.cron.monthly +@@ -1,6 +1,6 @@ + #!/bin/sh + + # Only call zfs-auto-snapshot if it's available +-which zfs-auto-snapshot > /dev/null || exit 0 ++command -v zfs-auto-snapshot > /dev/null || exit 0 + + exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 // +--- a/etc/zfs-auto-snapshot.cron.weekly ++++ b/etc/zfs-auto-snapshot.cron.weekly +@@ -1,6 +1,6 @@ + #!/bin/sh + + # Only call zfs-auto-snapshot if it's available +-which zfs-auto-snapshot > /dev/null || exit 0 ++command -v zfs-auto-snapshot > /dev/null || exit 0 + + exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 // |