Fix typo in sed line for pacman.conf
This commit is contained in:
parent
7d4cae4856
commit
4ab655d6b4
@ -42,7 +42,7 @@ setupKeyring() {
|
|||||||
if ! grep "archlabs_repo" /etc/pacman.conf; then
|
if ! grep "archlabs_repo" /etc/pacman.conf; then
|
||||||
echo "${REPO}" | sudo tee -a /etc/pacman.conf
|
echo "${REPO}" | sudo tee -a /etc/pacman.conf
|
||||||
else ## if entries exist just remove them
|
else ## if entries exist just remove them
|
||||||
sudo sed -i '/archlabs_repo/d'
|
sudo sed -i '/archlabs_repo/d' /etc/pacman.conf
|
||||||
echo "${REPO}" | sudo tee -a /etc/pacman.conf
|
echo "${REPO}" | sudo tee -a /etc/pacman.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user