From ba1721b306e9fff7c648b092b9efea22d24f254a Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 14 Jun 2024 07:46:54 +0100 Subject: [PATCH] app-shells/bash: upgrade einfo->ewarn for bashrc changes Stands out more and gets repeated by Portage. Signed-off-by: Sam James --- app-shells/bash/bash-5.1_p16-r10.ebuild | 24 ++++++++++++------------ app-shells/bash/bash-5.2_p26-r3.ebuild | 24 ++++++++++++------------ app-shells/bash/bash-5.3_alpha-r2.ebuild | 24 ++++++++++++------------ app-shells/bash/bash-9999.ebuild | 24 ++++++++++++------------ 4 files changed, 48 insertions(+), 48 deletions(-) diff --git a/app-shells/bash/bash-5.1_p16-r10.ebuild b/app-shells/bash/bash-5.1_p16-r10.ebuild index a594ffc59a3b2..863a03b120bd0 100644 --- a/app-shells/bash/bash-5.1_p16-r10.ebuild +++ b/app-shells/bash/bash-5.1_p16-r10.ebuild @@ -331,16 +331,16 @@ pkg_postinst() { return fi - einfo "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." - einfo "" - einfo "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" - einfo "characteristics of the operating environment, this array may contain commands" - einfo "to set the window and pane title. Users that choose to customise this variable" - einfo "in ~/.bashrc are advised to append their commands, using the following syntax." - einfo "" - einfo "PROMPT_COMMAND+=('custom command goes here')" - einfo "" - einfo "Alternatively, users that wish to opt out of Gentoo's window title setting" - einfo "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" - einfo "as desired. Previously, there was no formally supported method of opting out." + ewarn "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." + ewarn "" + ewarn "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" + ewarn "characteristics of the operating environment, this array may contain commands" + ewarn "to set the window and pane title. Users that choose to customise this variable" + ewarn "in ~/.bashrc are advised to append their commands, using the following syntax." + ewarn "" + ewarn "PROMPT_COMMAND+=('custom command goes here')" + ewarn "" + ewarn "Alternatively, users that wish to opt out of Gentoo's window title setting" + ewarn "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" + ewarn "as desired. Previously, there was no formally supported method of opting out." } diff --git a/app-shells/bash/bash-5.2_p26-r3.ebuild b/app-shells/bash/bash-5.2_p26-r3.ebuild index 3e1775504a628..980ea4fdba516 100644 --- a/app-shells/bash/bash-5.2_p26-r3.ebuild +++ b/app-shells/bash/bash-5.2_p26-r3.ebuild @@ -375,16 +375,16 @@ pkg_postinst() { return fi - einfo "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." - einfo "" - einfo "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" - einfo "characteristics of the operating environment, this array may contain commands" - einfo "to set the window and pane title. Users that choose to customise this variable" - einfo "in ~/.bashrc are advised to append their commands, using the following syntax." - einfo "" - einfo "PROMPT_COMMAND+=('custom command goes here')" - einfo "" - einfo "Alternatively, users that wish to opt out of Gentoo's window title setting" - einfo "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" - einfo "as desired. Previously, there was no formally supported method of opting out." + ewarn "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." + ewarn "" + ewarn "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" + ewarn "characteristics of the operating environment, this array may contain commands" + ewarn "to set the window and pane title. Users that choose to customise this variable" + ewarn "in ~/.bashrc are advised to append their commands, using the following syntax." + ewarn "" + ewarn "PROMPT_COMMAND+=('custom command goes here')" + ewarn "" + ewarn "Alternatively, users that wish to opt out of Gentoo's window title setting" + ewarn "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" + ewarn "as desired. Previously, there was no formally supported method of opting out." } diff --git a/app-shells/bash/bash-5.3_alpha-r2.ebuild b/app-shells/bash/bash-5.3_alpha-r2.ebuild index f33bf717eac61..248f30b7b4e17 100644 --- a/app-shells/bash/bash-5.3_alpha-r2.ebuild +++ b/app-shells/bash/bash-5.3_alpha-r2.ebuild @@ -374,16 +374,16 @@ pkg_postinst() { return fi - einfo "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." - einfo "" - einfo "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" - einfo "characteristics of the operating environment, this array may contain commands" - einfo "to set the window and pane title. Users that choose to customise this variable" - einfo "in ~/.bashrc are advised to append their commands, using the following syntax." - einfo "" - einfo "PROMPT_COMMAND+=('custom command goes here')" - einfo "" - einfo "Alternatively, users that wish to opt out of Gentoo's window title setting" - einfo "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" - einfo "as desired. Previously, there was no formally supported method of opting out." + ewarn "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." + ewarn "" + ewarn "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" + ewarn "characteristics of the operating environment, this array may contain commands" + ewarn "to set the window and pane title. Users that choose to customise this variable" + ewarn "in ~/.bashrc are advised to append their commands, using the following syntax." + ewarn "" + ewarn "PROMPT_COMMAND+=('custom command goes here')" + ewarn "" + ewarn "Alternatively, users that wish to opt out of Gentoo's window title setting" + ewarn "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" + ewarn "as desired. Previously, there was no formally supported method of opting out." } diff --git a/app-shells/bash/bash-9999.ebuild b/app-shells/bash/bash-9999.ebuild index 5c1278219ddbe..ae661e409da8c 100644 --- a/app-shells/bash/bash-9999.ebuild +++ b/app-shells/bash/bash-9999.ebuild @@ -374,16 +374,16 @@ pkg_postinst() { return fi - einfo "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." - einfo "" - einfo "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" - einfo "characteristics of the operating environment, this array may contain commands" - einfo "to set the window and pane title. Users that choose to customise this variable" - einfo "in ~/.bashrc are advised to append their commands, using the following syntax." - einfo "" - einfo "PROMPT_COMMAND+=('custom command goes here')" - einfo "" - einfo "Alternatively, users that wish to opt out of Gentoo's window title setting" - einfo "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" - einfo "as desired. Previously, there was no formally supported method of opting out." + ewarn "Files situated under /etc/bash/bashrc.d must now have a suffix of .sh or .bash." + ewarn "" + ewarn "Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the" + ewarn "characteristics of the operating environment, this array may contain commands" + ewarn "to set the window and pane title. Users that choose to customise this variable" + ewarn "in ~/.bashrc are advised to append their commands, using the following syntax." + ewarn "" + ewarn "PROMPT_COMMAND+=('custom command goes here')" + ewarn "" + ewarn "Alternatively, users that wish to opt out of Gentoo's window title setting" + ewarn "behaviour may now do so by either unsetting PROMPT_COMMAND or by re-defining it" + ewarn "as desired. Previously, there was no formally supported method of opting out." }