File git-05-ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f.patch of Package aaa_base.12878

commit ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f
Author: Werner Fink <werner@suse.de>
Date:   Thu Apr 4 14:58:23 2019 +0200

    /etc/profile does not work in AppArmor-confined containers (bsc#1096191)
    
    Signed-off-by: Werner Fink <werner@suse.de>

diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index 07ac4a4..85be9f6 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -17,6 +17,7 @@ if test -z "$is" ; then
   if ! is=$(readlink /proc/$$/exe 2>/dev/null) ; then
     case "$0" in
     *pcksh)	is=ksh	;;
+    *bash)	is=bash	;;
     *)		is=sh	;;
     esac
   fi
diff --git a/files/etc/profile b/files/etc/profile
index 59b2443..1bbffdc 100644
--- a/files/etc/profile
+++ b/files/etc/profile
@@ -14,6 +14,7 @@ if test -f /proc/mounts ; then
   if ! is=$(readlink /proc/$$/exe 2>/dev/null) ; then
     case "$0" in
     *pcksh)	is=ksh	;;
+    *bash)	is=bash	;;
     *)		is=sh	;;
     esac
   fi