aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-09-16 13:20:04 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-09-16 13:20:04 +0200
commit7403cc9c7c1675ab272e5a6dc64b0e3e4dbe7e47 (patch)
tree5e9315d81c0f046fb5a46a8d8b34cd0441af9794
parentc856732d156ed1304ea68d596d40580c748bbcf2 (diff)
downloadmkinitcpio-ykfde-7403cc9c7c1675ab272e5a6dc64b0e3e4dbe7e47.tar.gz
mkinitcpio-ykfde-7403cc9c7c1675ab272e5a6dc64b0e3e4dbe7e47.tar.zst
mkinitcpio/ykfde: replace deprecated `egrep` with `grep -E`
-rw-r--r--mkinitcpio/ykfde2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio/ykfde b/mkinitcpio/ykfde
index 3e8e485..adb403c 100644
--- a/mkinitcpio/ykfde
+++ b/mkinitcpio/ykfde
@@ -9,7 +9,7 @@ build() {
add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-worker.service ../ykfde-worker.service
# this is required for second factor
- if egrep -qi 'second factor = (yes|true|1)' /etc/ykfde.conf; then
+ if grep -E -qi 'second factor = (yes|true|1)' /etc/ykfde.conf; then
add_systemd_unit cryptsetup-pre.target
add_systemd_unit ykfde-2f.service
add_symlink /usr/lib/systemd/system/sysinit.target.wants/ykfde-2f.service ../ykfde-2f.service