summaryrefslogtreecommitdiff
path: root/sys-fs/zfs-utils/files/bash-completion-sudo.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-07 20:32:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-07 20:32:42 +0100
commitd0e57c5a67b302db25b15ebaf1008c6f27bbda6e (patch)
treea634db4807b4730fcdbf0fe49c497f9a2b6678dd /sys-fs/zfs-utils/files/bash-completion-sudo.patch
parent32ef67ae3bb68f3648581b2f0aafeadf405698cf (diff)
sys-fs/zfs : version bump
Diffstat (limited to 'sys-fs/zfs-utils/files/bash-completion-sudo.patch')
-rw-r--r--sys-fs/zfs-utils/files/bash-completion-sudo.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/sys-fs/zfs-utils/files/bash-completion-sudo.patch b/sys-fs/zfs-utils/files/bash-completion-sudo.patch
deleted file mode 100644
index 8ae9d25d..00000000
--- a/sys-fs/zfs-utils/files/bash-completion-sudo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 3829d0b867f6aa4bde8798147dee74a86435d12c Mon Sep 17 00:00:00 2001
-From: Georgy Yakovlev <gyakovlev@gentoo.org>
-Date: Fri, 22 Mar 2019 22:04:40 -0700
-Subject: [PATCH] contrib/bash_completion.d/zfs: remove sudo reference
-
----
- contrib/bash_completion.d/zfs | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/contrib/bash_completion.d/zfs b/contrib/bash_completion.d/zfs
-index 914db43c..b1aded36 100644
---- a/contrib/bash_completion.d/zfs
-+++ b/contrib/bash_completion.d/zfs
-@@ -21,13 +21,13 @@
- # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- # OTHER DEALINGS IN THE SOFTWARE.
-
--if [[ -w /dev/zfs ]]; then
-+#if [[ -w /dev/zfs ]]; then
- __ZFS_CMD="zfs"
- __ZPOOL_CMD="zpool"
--else
-- __ZFS_CMD="sudo zfs"
-- __ZPOOL_CMD="sudo zpool"
--fi
-+#else
-+# __ZFS_CMD="sudo zfs"
-+# __ZPOOL_CMD="sudo zpool"
-+#fi
-
- __zfs_get_commands()
- {
---
-2.21.0
-