Skip to content

Commit

Permalink
simplified grep line
Browse files Browse the repository at this point in the history
  • Loading branch information
cawilliamson committed Dec 29, 2017
1 parent 79e8014 commit ebc233d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpd-pocket-keyring/gpd-pocket-keyring.install
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
post_upgrade() {
pacman-key --populate gpd-pocket

if grep -Fqx '\[gpd-pocket\]' /etc/pacman.conf; then
if grep -Fqx gpd-pocket /etc/pacman.conf; then
sed -e'/\[gpd-pocket\]/,+4d' -i'' /etc/pacman.conf
fi

Expand Down

0 comments on commit ebc233d

Please sign in to comment.