Fix package relative paths.

This commit is contained in:
David Tomaschik
2015-10-10 16:02:29 -07:00
parent f4232608f6
commit c1350c83d2

View File

@@ -155,8 +155,9 @@ function run_as_root {
} }
function install_pkg_set { function install_pkg_set {
if [[ ! -f ${1} ]] ; then return 0 ; fi local pkg_file=${BASEDIR}/${1}
run_as_root apt-get install -y `cat ${BASEDIR}/${1}` if [[ ! -f ${pkg_file} ]] ; then return 0 ; fi
run_as_root apt-get install -y `cat ${pkg_file}`
} }
function install_apt_pkgs { function install_apt_pkgs {