Modified /etc/profile to append /sbin to PATH and source /etc/locale.conf

This commit is contained in:
CapCreeperGR
2024-07-06 20:17:48 +00:00
parent ec99d97743
commit dc562e4739
+9 -1
View File
@@ -11,8 +11,16 @@ append_path() {
} }
# Appending paths # Appending paths
append_path '/usr/local/sbin' append_path '/usr/sbin'
append_path '/usr/local/bin' 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 # Unsetting functions
unset -f append_path unset -f append_path