Run package update everytime before building the meta package when invoking from the install script

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König
2025-06-08 21:31:56 +02:00
parent 5777497f52
commit 7a16024020

View File

@@ -2204,8 +2204,8 @@ main() {
# Check for supported package managers so that we may install dependencies
package_manager_detect
# Update package cache only on fresh installs and apt based systems
if [[ "${fresh_install}" == true ]] && is_command apt-get; then
# Update package cache only on apt based systems
if is_command apt-get; then
update_package_cache || exit 1
fi