From 562c4047f2205edba328dc916fd37c9ec854b697 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Mon, 6 Jan 2014 10:08:29 +0100 Subject: [PATCH] Also remove old rollback packages. --- openup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openup b/openup index 2f5953c..f6aed1a 100755 --- a/openup +++ b/openup @@ -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"