Disallow pkg_delete when the pkg_prefix is on a read-only file-system.
authorespie <espie@openbsd.org>
Fri, 24 Mar 2000 00:21:28 +0000 (00:21 +0000)
committerespie <espie@openbsd.org>
Fri, 24 Mar 2000 00:21:28 +0000 (00:21 +0000)
commit5fa7c547803f30595116cd7dfabb4b81e2faba79
treede97a35b8e091110ac439bbf97cfadea17eee04d
parente2476d4946cf28ade8f225066273b544907fc742
Disallow pkg_delete when the pkg_prefix is on a read-only file-system.
This avoids erasing /var/db/info while keeping the package and issuing
hundreds of warnings...
usr.sbin/pkg_install/delete/perform.c