app-backup/burp: make sure oldver is local to pkg_postinst()

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Marek Szuba
2017-04-27 15:53:44 +02:00
parent b2432bf6da
commit deff9dc6c2

View File

@@ -94,6 +94,7 @@ pkg_postinst() {
# According to PMS this can be a space-separated list of version
# numbers, even though in practice it is typically just one.
local oldver
for oldver in ${REPLACING_VERSIONS}; do
if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"