diff options
Diffstat (limited to 'functions/packages.sh')
-rwxr-xr-x | functions/packages.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/functions/packages.sh b/functions/packages.sh index f07bed35f..fa16b1161 100755 --- a/functions/packages.sh +++ b/functions/packages.sh @@ -9,11 +9,12 @@ ## under certain conditions; see COPYING for details. +# Note, updates _LB_PACKAGES Check_package () { - CHROOT="${1}" - FILE="${2}" - PACKAGE="${3}" + local CHROOT="${1}" + local FILE="${2}" + local PACKAGE="${3}" Check_installed "${CHROOT}" "${FILE}" "${PACKAGE}" @@ -68,9 +69,9 @@ Remove_package () # 2 if package isn't installed and we aren't in an apt managed system Check_installed () { - CHROOT="${1}" - FILE="${2}" - PACKAGE="${3}" + local CHROOT="${1}" + local FILE="${2}" + local PACKAGE="${3}" if [ "${LB_BUILD_WITH_CHROOT}" = "true" ] && [ "${CHROOT}" = "chroot" ] then |