summaryrefslogtreecommitdiff
path: root/aports/base-layout/profile
diff options
context:
space:
mode:
Diffstat (limited to 'aports/base-layout/profile')
-rw-r--r--aports/base-layout/profile21
1 files changed, 1 insertions, 20 deletions
diff --git a/aports/base-layout/profile b/aports/base-layout/profile
index e62587b..fbc3ba0 100644
--- a/aports/base-layout/profile
+++ b/aports/base-layout/profile
@@ -1,24 +1,5 @@
-# Append "$1" to $PATH when not already in.
-# Copied from Arch Linux, see #12803 for details.
-append_path () {
- case ":$PATH:" in
- *:"$1":*)
- ;;
- *)
- PATH="${PATH:+$PATH:}$1"
- ;;
- esac
-}
+export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
-append_path "/usr/local/sbin"
-append_path "/usr/local/bin"
-append_path "/usr/sbin"
-append_path "/usr/bin"
-append_path "/sbin"
-append_path "/bin"
-unset -f append_path
-
-export PATH
export PAGER=less
umask 022