Skip to content

Commit

Permalink
Merge pull request #69 from pascal-zarrad/feature/pacman-no-upgrade
Browse files Browse the repository at this point in the history
Do not upgrade system on arch installation
  • Loading branch information
pascal-zarrad authored Mar 26, 2024
2 parents 6e4ca10 + d9d45a9 commit a93ff2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/distdep/arch_based/package_management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ function install_apt_packages() {
local package_install_command="${3}"
IFS=' ' read -r -a package_install_arguments <<< "$package_install_command"
print_message "The installer has to install the following packages through pacman (using sudo if available): "
print_message "During package installation, an pacman update is done automatically!"
print_message "During package installation, an pacman database update is done automatically!"
print_message "${COLOR_CYAN}${package_install_command}${COLOR_RESET}"
yes_no_abort_dialog "Do you want to continue? (y/n): " "${start_arg_run_unattended}"
if [ "$use_sudo" -eq 1 ]
then
sudo pacman --noconfirm -Syu "${package_install_arguments[@]}"
sudo pacman --noconfirm -Sy "${package_install_arguments[@]}"
else
pacman --noconfirm -Syu "${package_install_arguments[@]}"
pacman --noconfirm -Sy "${package_install_arguments[@]}"
fi
install_result="$?"
if [ "$install_result" -ne 0 ]; then
Expand Down

0 comments on commit a93ff2c

Please sign in to comment.