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.
This commit is contained in:
parent
4170a8b346
commit
29f3a15fec
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'bash'
|
# Template file for 'bash'
|
||||||
pkgname=bash
|
pkgname=bash
|
||||||
version=5.1.016
|
version=5.1.016
|
||||||
revision=1
|
revision=2
|
||||||
_bash_distver=${version%.*}
|
_bash_distver=${version%.*}
|
||||||
_bash_patchlevel=${version##*.}
|
_bash_patchlevel=${version##*.}
|
||||||
_patchprefix="bash${_bash_distver/./}"
|
_patchprefix="bash${_bash_distver/./}"
|
||||||
@ -52,7 +52,7 @@ alternatives="
|
|||||||
sh:sh:/usr/bin/bash
|
sh:sh:/usr/bin/bash
|
||||||
sh:sh.1:/usr/share/man/man1/bash.1"
|
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() {
|
post_patch() {
|
||||||
local _p
|
local _p
|
||||||
|
Loading…
x
Reference in New Issue
Block a user