security-misc/etc/profile.d/30_security-misc.sh

12 lines
348 B
Bash
Raw Normal View History

2019-07-08 18:59:39 -04:00
#!/bin/sh
2024-05-10 23:18:36 -04:00
## Copyright (C) 2019 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
2019-07-08 18:59:39 -04:00
## See the file COPYING for copying conditions.
if [ -z "$XDG_CONFIG_DIRS" ]; then
XDG_CONFIG_DIRS=/etc/xdg
fi
2023-10-12 11:37:01 -04:00
if ! echo "$XDG_CONFIG_DIRS" | grep --quiet /usr/share/security-misc/ ; then
export XDG_CONFIG_DIRS=/usr/share/security-misc/:$XDG_CONFIG_DIRS
fi