Accepting request 963967 from home:wagi:branches:Base:System

- Fix install conflict caused by new bash completion script
  location (bsc#1197365).

OBS-URL: https://build.opensuse.org/request/show/963967
OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=113
This commit is contained in:
Daniel Wagner 2022-03-22 14:12:54 +00:00 committed by Git OBS Bridge
parent e6464ce40c
commit 4dfc0f22ca
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 22 13:49:50 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>
- Fix install conflict caused by new bash completion script
location (bsc#1197365).
-------------------------------------------------------------------
Fri Mar 18 19:13:06 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>

View File

@ -123,6 +123,11 @@ if [ -f /sys/class/fc/fc_udev_device/nvme_discovery ]; then
%{_bindir}/echo add > /sys/class/fc/fc_udev_device/nvme_discovery
fi
%pre -n nvme-cli-bash-completion
if [ -d %{_datadir}/bash-completion/completions/nvme ]; then
rm -r %{_datadir}/bash-completion/completions/nvme;
fi
%files
%license LICENSE
%doc README.md