mirror of
https://github.com/edu4rdshl/archlinux-pkgrecover.git
synced 2026-07-17 23:24:46 +00:00
Use --overwrite=* by default and remove --noconfirm
This commit is contained in:
parent
40c6394220
commit
c4e8f8c233
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ using_pacman_db() {
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "Reinstalling the following packages:"
|
echo "Reinstalling the following packages:"
|
||||||
sudo pacman -S "${matching_packages[@]}" --noconfirm
|
sudo pacman -S "${matching_packages[@]}" --overwrite='*'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -95,7 +95,7 @@ using_paclog() {
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "Reinstalling the following packages:"
|
echo "Reinstalling the following packages:"
|
||||||
sudo pacman -S "${matching_packages[@]}" --noconfirm
|
sudo pacman -S "${matching_packages[@]}" --overwrite='*'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue