From: Marek Szuba Date: Thu, 27 Apr 2017 13:53:44 +0000 (+0200) Subject: app-backup/burp: make sure oldver is local to pkg_postinst() X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=deff9dc6c20ef564b3fee110925d4f1a52a846d3;p=gentoo.git app-backup/burp: make sure oldver is local to pkg_postinst() Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/app-backup/burp/burp-2.0.54.ebuild b/app-backup/burp/burp-2.0.54.ebuild index cf7dee17673d..694caae538ae 100644 --- a/app-backup/burp/burp-2.0.54.ebuild +++ b/app-backup/burp/burp-2.0.54.ebuild @@ -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"