summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2022-11-26 10:55:52 +0100
committerLouis Sautier <sbraz@gentoo.org>2022-12-04 21:22:44 +0100
commit11a14f552fc07767d2632cb4b09674cccfa715ff (patch)
treecb4b308f33b3e47db001a0dce522aa3557a65bc9 /dev-db
parentapp-emacs/org-mode: fix compile by using 1 job (diff)
downloadgentoo-11a14f552fc07767d2632cb4b09674cccfa715ff.tar.gz
gentoo-11a14f552fc07767d2632cb4b09674cccfa715ff.tar.bz2
gentoo-11a14f552fc07767d2632cb4b09674cccfa715ff.zip
dev-db/mysql-init-scripts: stop using deprecated egrep alias
Since grep 3.8, this resulted in "egrep: warning: egrep is obsolescent; using /bin/grep -E". Signed-off-by: Louis Sautier <sbraz@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28437
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql-init-scripts/files/init.d-2.32
-rw-r--r--dev-db/mysql-init-scripts/files/init.d-supervise-2.32
-rw-r--r--dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r5.ebuild (renamed from dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild)0
3 files changed, 2 insertions, 2 deletions
diff --git a/dev-db/mysql-init-scripts/files/init.d-2.3 b/dev-db/mysql-init-scripts/files/init.d-2.3
index f587e26f7322..90e7e7536881 100644
--- a/dev-db/mysql-init-scripts/files/init.d-2.3
+++ b/dev-db/mysql-init-scripts/files/init.d-2.3
@@ -47,7 +47,7 @@ bootstrap_galera() {
start() {
# Check for old conf.d variables that mean migration was not yet done.
- set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
+ set | grep -Esq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
rc=$?
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
# It does have a use in testing, as it is possible to build a config file
diff --git a/dev-db/mysql-init-scripts/files/init.d-supervise-2.3 b/dev-db/mysql-init-scripts/files/init.d-supervise-2.3
index d0cbb312ccac..1bacbd4d8566 100644
--- a/dev-db/mysql-init-scripts/files/init.d-supervise-2.3
+++ b/dev-db/mysql-init-scripts/files/init.d-supervise-2.3
@@ -44,7 +44,7 @@ bootstrap_galera() {
start() {
# Check for old conf.d variables that mean migration was not yet done.
- set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
+ set | grep -Esq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
rc=$?
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
# It does have a use in testing, as it is possible to build a config file
diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r5.ebuild
index f8c746797828..f8c746797828 100644
--- a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r4.ebuild
+++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r5.ebuild