From 29f3a15fecd6c1a6a93d77f5b00cac2e309bbd67 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Mon, 19 Sep 2022 12:33:46 -0700 Subject: [PATCH] bash: define NON_INTERACTIVE_LOGIN_SHELLS This is required by gnome-session. This is used by Debian, Arch, and Fedora. This results in /etc/profile being loaded on non-interactive login sessions. --- srcpkgs/bash/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bash/template b/srcpkgs/bash/template index 9751a08f34e..2ced9aef2de 100644 --- a/srcpkgs/bash/template +++ b/srcpkgs/bash/template @@ -1,7 +1,7 @@ # Template file for 'bash' pkgname=bash version=5.1.016 -revision=1 +revision=2 _bash_distver=${version%.*} _bash_patchlevel=${version##*.} _patchprefix="bash${_bash_distver/./}" @@ -52,7 +52,7 @@ alternatives=" sh:sh:/usr/bin/bash sh:sh.1:/usr/share/man/man1/bash.1" -CFLAGS="-DSYS_BASHRC='\"/etc/bash/bashrc\"'" +CFLAGS="-DNON_INTERACTIVE_LOGIN_SHELLS -DSYS_BASHRC='\"/etc/bash/bashrc\"'" post_patch() { local _p