refactor: refactor update_system_package_lists

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus
2023-06-10 09:55:47 +02:00
parent 7788e7cd87
commit 9b64199a2f
6 changed files with 18 additions and 15 deletions

View File

@@ -325,7 +325,7 @@ function install_klipper_packages() {
update_system_package_lists
### Install required packages
install_system_packages "$log_name" "packages[@]"
install_system_packages "${log_name}" "packages[@]"
}
function create_klipper_service() {
@@ -624,4 +624,4 @@ function get_klipper_python_ver() {
local version
version=$("${KLIPPY_ENV}"/bin/python --version 2>&1 | cut -d" " -f2 | cut -d"." -f1)
echo "${version}"
}
}