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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user