From 7403cc9c7c1675ab272e5a6dc64b0e3e4dbe7e47 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 16 Sep 2022 13:20:04 +0200 Subject: mkinitcpio/ykfde: replace deprecated `egrep` with `grep -E` --- mkinitcpio/ykfde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkinitcpio') 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 -- cgit v1.2.3-70-g09d2