Skip to content

Commit eb955f6

Browse files
Stoiko Ivanovbehlendorf
authored andcommitted
contrib: debian: drop bashcompletion mangling after install
tested by running: ``` ./configure --with-config=user; cp -a contrib/debian . dpkg-buildpackage -b -uc -us ``` on a Debian 12 based system. and checking where the completion file got installed. Reviewed-by: Umer Saleem <[email protected]> Signed-off-by: Stoiko Ivanov <[email protected]> Closes #15304
1 parent e14293a commit eb955f6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

contrib/debian/openzfs-zfsutils.install

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
etc/default/zfs
22
etc/zfs/zfs-functions
33
etc/zfs/zpool.d/
4-
etc/bash_completion.d/zfs
54
lib/systemd/system-generators/
65
lib/systemd/system-preset/
76
lib/systemd/system/zfs-import-cache.service

contrib/debian/rules.in

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ override_dh_auto_install:
7171
@# Install the utilities.
7272
$(MAKE) install DESTDIR='$(CURDIR)/debian/tmp'
7373

74-
# Use upstream's bash completion
75-
install -D -t '$(CURDIR)/debian/tmp/usr/share/bash-completion/completions/' \
76-
'$(CURDIR)/contrib/bash_completion.d/zfs'
77-
7874
# Move from bin_dir to /usr/sbin
7975
# Remove suffix (.py) as per policy 10.4 - Scripts
8076
# https://www.debian.org/doc/debian-policy/ch-files.html#s-scripts
@@ -136,7 +132,6 @@ override_dh_auto_install:
136132

137133
chmod a-x '$(CURDIR)/debian/tmp/etc/zfs/zfs-functions'
138134
chmod a-x '$(CURDIR)/debian/tmp/etc/default/zfs'
139-
chmod a-x '$(CURDIR)/debian/tmp/usr/share/bash-completion/completions/zfs'
140135

141136
override_dh_python3:
142137
dh_python3 -p openzfs-python3-pyzfs

0 commit comments

Comments
 (0)