forked from mirrors/openup
Do not through an error when we check for old binpatches and no binpatch is installed.
This commit is contained in:
parent
ac85dd7595
commit
08928ff242
1 changed files with 5 additions and 5 deletions
4
openup
4
openup
|
|
@ -155,8 +155,8 @@ check_openupd() {
|
||||||
# modify nor error out on installed files from newer release/binpatch)
|
# modify nor error out on installed files from newer release/binpatch)
|
||||||
rm_old_bp() {
|
rm_old_bp() {
|
||||||
local _bp
|
local _bp
|
||||||
local _BPDB=$(ls -d /var/db/binpatch/{binpatch-,}[0-9]* |grep -v ${_REL})
|
local _BPDB=$(ls -d /var/db/binpatch/{binpatch-,}[0-9]* 2>/dev/null |grep -v ${_REL})
|
||||||
local _BPPKG=$(ls -d /var/db/pkg/binpatch* |grep -v binpatch${_REL_INT})
|
local _BPPKG=$(ls -d /var/db/pkg/binpatch* 2>/dev/null |grep -v binpatch${_REL_INT})
|
||||||
if [ -n "${_BPPKG}" -o -n "${_BPDB}" ]; then
|
if [ -n "${_BPPKG}" -o -n "${_BPDB}" ]; then
|
||||||
pr_bigarrow "Removing old release binpatch entries"
|
pr_bigarrow "Removing old release binpatch entries"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue