aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-10 14:33:16 +0300
committerCem Keylan <cem@ckyln.com>2019-12-10 14:33:16 +0300
commit0bbe4c12108e45f90a344a9ac60f1b27f3363e19 (patch)
tree16cfbddf8664ce3310d2a9c87439bf89caeb995b
parentcb6cce5732a6e4b03160c409294d3c074d9838e9 (diff)
downloadrepository-0bbe4c12108e45f90a344a9ac60f1b27f3363e19.tar.gz
reduced path in profile
-rw-r--r--core/baselayout/checksums2
-rw-r--r--core/baselayout/files/profile19
-rw-r--r--core/baselayout/version2
3 files changed, 12 insertions, 11 deletions
diff --git a/core/baselayout/checksums b/core/baselayout/checksums
index 09ccb075..716f362a 100644
--- a/core/baselayout/checksums
+++ b/core/baselayout/checksums
@@ -7,7 +7,7 @@ eda9afe39a3562406f14cb8a5a142922b63e68467d3ba4821c02eaa142d9c4da hosts
0bde8ace73d58897e85c82eb96690bbfd1a4231949d3523d5950ba1910b08892 mime.types
02034690576a0599d13aed2f081119eee23325329fba5bc931128ef74f82df55 os-release
7762b65442cd3e930d9b4ec470e01bc53938bc5ed3d7aedeed47977b78f54843 passwd
-5aa69b5acea1deb625c46ce481d96e4e21558ae2e39ca74fc5b6a5674329f403 profile
+faea61ce6cb8071088349902bd7094b127473780e7c2387c113d2f52caa75a5f profile
7e47176cd83b91bdbc3a0b10ae5d5c093b81a9c8c0c1fb714f5438381124c760 securetty
8ce994663d7588143ad7ed4441b07f468f4f7d3590164dd73ddfa3ea307ece8e shadow
8782af2bf81ca1e81b59d1be531565882d4e0c9a89d189706ed358375f67ca04 shells
diff --git a/core/baselayout/files/profile b/core/baselayout/files/profile
index 8e5fcd75..a1d4d371 100644
--- a/core/baselayout/files/profile
+++ b/core/baselayout/files/profile
@@ -1,16 +1,17 @@
+#
# /etc/profile
#
-# System wide environment and startup programs.
-# Set default path (/usr/sbin:/sbin:/bin included for non-KISS Linux chroots).
-export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
+PATH=/usr/bin
+MANPATH=/usr/share/man
+export PATH MANPATH
-# Set default umask.
umask 022
# Load profiles from /etc/profile.d
-for file in /etc/profile.d/*.sh; do
- [ -r "$file" ] && . "$file"
-done
-
-unset file
+if [ -d /etc/profile.d/ ]; then
+ for file in /etc/profile.d/*.sh; do
+ [ -r "$file" ] && . "$file"
+ done
+ unset file
+fi
diff --git a/core/baselayout/version b/core/baselayout/version
index 8d04f961..707c2f26 100644
--- a/core/baselayout/version
+++ b/core/baselayout/version
@@ -1 +1 @@
-1 2
+1 3