From dc562e4739a6932d7cc360a91f75e901ae52d677 Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Sat, 6 Jul 2024 20:17:48 +0000 Subject: [PATCH] Modified /etc/profile to append /sbin to PATH and source /etc/locale.conf --- source-files/profile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source-files/profile b/source-files/profile index f5c3873..d9fc89b 100644 --- a/source-files/profile +++ b/source-files/profile @@ -11,8 +11,16 @@ append_path() { } # Appending paths -append_path '/usr/local/sbin' +append_path '/usr/sbin' append_path '/usr/local/bin' +append_path '/usr/local/sbin' + +# Source locale.conf +if [ -f /etc/locale.conf ]; then + set -a + . /etc/locale.conf + set +a +fi # Unsetting functions unset -f append_path