[PATCH RFC nvme-cli 1/2] debain: generate hostnqn file on install and remove on uninstall
Christoph Hellwig
hch at lst.de
Sun Nov 6 11:25:30 PST 2016
I think the subject should read "debian" :)
> diff --git a/debian/prerm b/debian/prerm
> new file mode 100644
> index 000000000000..40c6fea42284
> --- /dev/null
> +++ b/debian/prerm
> @@ -0,0 +1,5 @@
> +#!/bin/sh
> +
> +if [ "$1" = "remove" ]; then
> + rm -rf /etc/nvme
> +fi
Shouldn't we only do that for a purge?
More information about the Linux-nvme
mailing list