forked from mirrors/openup
Also remove old rollback packages.
This commit is contained in:
parent
dcce1ad6fa
commit
562c4047f2
1 changed files with 1 additions and 1 deletions
2
openup
2
openup
|
|
@ -155,7 +155,7 @@ 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/[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})
|
local _BPPKG=$(ls -d /var/db/pkg/binpatch* |grep -v binpatch${_REL_INT})
|
||||||
if [ -n "${_BPPKG}" -o -n "${_BPDB}" ]; then
|
if [ -n "${_BPPKG}" -o -n "${_BPDB}" ]; then
|
||||||
pr_bigarrow "Removing old binpatch(es) entry"
|
pr_bigarrow "Removing old binpatch(es) entry"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue