On install: if /etc/multipath.conf already exists, append a tagged block rather than skipping silently (old) or overwriting (dangerous). On upgrade: replace only the tagged block, leaving the rest untouched. On remove/purge: strip the tagged block; rest of the file preserved. This means admins who added their own stanzas during manual testing (e.g. before the package existed) won't lose config on install or upgrade. Closes the silent "file already exists" footgun. Also fixes pre-existing SC2015 shellcheck warnings in postrm. Refs #256 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| DEBIAN | ||
| DEBIAN-multipath | ||
| DEBIAN-transitional | ||
| changelog.Debian | ||