Verified Commit 42a85d47 authored by likewhoa's avatar likewhoa
Browse files

Minor bug fix in update_06

parent fb2b95fd
......@@ -115,7 +115,7 @@ _update_05() {
# Modify pacman.conf and add ignore packages
_update_06() {
if ! grep "${pkg_ignore[0]}" /etc/pacman.conf 1>/dev/null; then
if ! grep -w "${pkg_ignore[1]}" /etc/pacman.conf 1>/dev/null; then
sudo sed -i "s:^#IgnorePkg =.*$:IgnorePkg = ${pkg_ignore[*]}:" /etc/pacman.conf
# Finalize
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment