1
0
Fork 0
forked from mirrors/openup

Also remove old rollback packages.

This commit is contained in:
Antoine Jacoutot 2014-01-06 10:08:29 +01:00
commit 562c4047f2

2
openup
View file

@ -155,7 +155,7 @@ check_openupd() {
# modify nor error out on installed files from newer release/binpatch)
rm_old_bp() {
local _bp
local _BPDB=$(ls -d /var/db/binpatch/[0-9]* |grep -v ${_REL})
local _BPDB=$(ls -d /var/db/binpatch/{binpatch-,}[0-9]* |grep -v ${_REL})
local _BPPKG=$(ls -d /var/db/pkg/binpatch* |grep -v binpatch${_REL_INT})
if [ -n "${_BPPKG}" -o -n "${_BPDB}" ]; then
pr_bigarrow "Removing old binpatch(es) entry"