Skip to content

Commit

Permalink
Fix pacman repository installs in ascinit
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorfree committed Feb 4, 2023
1 parent 0d52f7e commit d11dfec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/ascinit
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ install_package() {
[ "${quiet}" ] || printf "\n\t\tCannot locate dnf to install. Skipping ..."
fi
else
[ "${arch}" ] && sudo pacman -U --noconfirm $1 > /dev/null 2>&1
[ "${arch}" ] && sudo pacman -S --noconfirm $1 > /dev/null 2>&1
fi
fi
fi
Expand Down Expand Up @@ -1067,7 +1067,7 @@ have_pip=`type -p pip`
else
if [ "${arch}" ]
then
sudo pacman -U --noconfirm python-pip > /dev/null 2>&1
sudo pacman -S --noconfirm python-pip > /dev/null 2>&1
else
sudo ${DNF} install python3-pip > /dev/null 2>&1
fi
Expand Down Expand Up @@ -1541,7 +1541,7 @@ create_new_profile() {
[ "${quiet}" ] || printf "\n\t\tCannot locate dnf to install. Skipping ..."
fi
else
[ "${arch}" ] && sudo pacman -U --noconfirm go > /dev/null 2>&1
[ "${arch}" ] && sudo pacman -S --noconfirm go > /dev/null 2>&1
fi
fi
[ "${quiet}" ] || {
Expand Down

0 comments on commit d11dfec

Please sign in to comment.