Remove pacman partial upgrades

pull/1896/head
Daniele 2 years ago committed by Disconnect3d
parent fd841c5e90
commit a198bb30cb

@ -61,8 +61,13 @@ install_emerge() {
}
install_pacman() {
sudo pacman -Syy --noconfirm || true
sudo pacman -S --needed --noconfirm git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod
read -p "Do you want to do a full system update? (y/n) [n] " answer
# user want to perfom a full system upgrade
answer=${answer:-n} # n is default
if [[ "$answer" == "y" ]]; then
sudo pacman -Syu || true
fi
sudo pacman -S --needed git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod
if ! grep -q "^set debuginfod enabled on" ~/.gdbinit; then
echo "set debuginfod enabled on" >> ~/.gdbinit
fi

Loading…
Cancel
Save