summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-10-20 13:59:25 -0400
committerMike Gilbert <floppym@gentoo.org>2022-10-20 13:59:25 -0400
commit7b11c3a8a55ffb81ec3194545639513011c7ec54 (patch)
tree3cf15ea73a1a2e37358a2846fb26ccfa22b4b93d /sys-fs/cryptsetup
parentnet-misc/freerdp: drop 2.7.0-r1 (diff)
downloadgentoo-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.rc4
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