removed the --needed
This commit is contained in:
@@ -56,7 +56,7 @@ install_package_pacman() {
|
|||||||
else
|
else
|
||||||
# Run pacman and redirect all output to a log file
|
# Run pacman and redirect all output to a log file
|
||||||
(
|
(
|
||||||
stdbuf -oL sudo pacman -S --noconfirm --needed "$1" 2>&1
|
stdbuf -oL sudo pacman -S --noconfirm "$1" 2>&1
|
||||||
) >> "$LOG" 2>&1 &
|
) >> "$LOG" 2>&1 &
|
||||||
PID=$!
|
PID=$!
|
||||||
show_progress $PID "$1"
|
show_progress $PID "$1"
|
||||||
@@ -78,7 +78,7 @@ install_package() {
|
|||||||
echo -e "${INFO} ${MAGENTA}$1${RESET} is already installed. Skipping..."
|
echo -e "${INFO} ${MAGENTA}$1${RESET} is already installed. Skipping..."
|
||||||
else
|
else
|
||||||
(
|
(
|
||||||
stdbuf -oL $ISAUR -S --noconfirm --needed "$1" 2>&1
|
stdbuf -oL $ISAUR -S --noconfirm "$1" 2>&1
|
||||||
) >> "$LOG" 2>&1 &
|
) >> "$LOG" 2>&1 &
|
||||||
PID=$!
|
PID=$!
|
||||||
show_progress $PID "$1"
|
show_progress $PID "$1"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ if pacman -Q base-devel &> /dev/null; then
|
|||||||
else
|
else
|
||||||
echo "$NOTE Install base-devel.........."
|
echo "$NOTE Install base-devel.........."
|
||||||
|
|
||||||
if sudo pacman -S --noconfirm --needed base-devel; then
|
if sudo pacman -S --noconfirm base-devel; then
|
||||||
echo "$OK base-devel has been installed successfully."
|
echo "$OK base-devel has been installed successfully."
|
||||||
else
|
else
|
||||||
echo "$ERROR base-devel not found nor cannot be installed."
|
echo "$ERROR base-devel not found nor cannot be installed."
|
||||||
@@ -83,7 +83,7 @@ printf "\n%.0s" {1..1}
|
|||||||
# install pciutils if detected not installed. Necessary for detecting GPU
|
# install pciutils if detected not installed. Necessary for detecting GPU
|
||||||
if ! pacman -Qs pciutils > /dev/null; then
|
if ! pacman -Qs pciutils > /dev/null; then
|
||||||
echo "pciutils is not installed. Installing..."
|
echo "pciutils is not installed. Installing..."
|
||||||
sudo pacman -S --noconfirm --needed pciutils
|
sudo pacman -S --noconfirm pciutils
|
||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user