diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-10-20 13:59:25 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-10-20 13:59:25 -0400 |
commit | 7b11c3a8a55ffb81ec3194545639513011c7ec54 (patch) | |
tree | 3cf15ea73a1a2e37358a2846fb26ccfa22b4b93d /sys-fs/cryptsetup | |
parent | net-misc/freerdp: drop 2.7.0-r1 (diff) | |
download | gentoo-7b11c3a8a55ffb81ec3194545639513011c7ec54.tar.gz gentoo-7b11c3a8a55ffb81ec3194545639513011c7ec54.tar.bz2 gentoo-7b11c3a8a55ffb81ec3194545639513011c7ec54.zip |
sys-fs/cryptsetup: replace egrep in init script
Closes: https://bugs.gentoo.org/877699
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/cryptsetup')
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-2.4.3-r2.ebuild (renamed from sys-fs/cryptsetup/cryptsetup-2.4.3-r1.ebuild) | 0 | ||||
-rw-r--r-- | sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/cryptsetup/cryptsetup-2.4.3-r1.ebuild b/sys-fs/cryptsetup/cryptsetup-2.4.3-r2.ebuild index 48ef57af21a5..48ef57af21a5 100644 --- a/sys-fs/cryptsetup/cryptsetup-2.4.3-r1.ebuild +++ b/sys-fs/cryptsetup/cryptsetup-2.4.3-r2.ebuild diff --git a/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc b/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc index 0903ac5eabd0..3b3c57da1c00 100644 --- a/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc +++ b/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc @@ -109,7 +109,7 @@ dm_crypt_execute() { # ${target} is active: # Newer versions report: # ${target} is active[ and is in use.] - if cryptsetup ${header_opt} status ${target} | egrep -q ' is active' ; then + if cryptsetup ${header_opt} status ${target} | grep -E -q ' is active' ; then einfo "dm-crypt mapping ${target} is already configured" return fi @@ -329,7 +329,7 @@ stop() { # Break down all mappings print_header=true - egrep "^(target|swap)=" ${conf_file} | \ + grep -E "^(target|swap)=" ${conf_file} | \ while read line ; do ${print_header} && einfo "Removing dm-crypt mappings" print_header=false |