diff options
Diffstat (limited to 'source/a')
-rwxr-xr-x | source/a/etc/_etc/etc/profile.d/home-profile.d.csh.new | 9 | ||||
-rwxr-xr-x | source/a/etc/_etc/etc/profile.d/home-profile.d.sh.new | 9 | ||||
-rw-r--r-- | source/a/etc/doinst.sh | 2 | ||||
-rwxr-xr-x | source/a/etc/etc.SlackBuild | 2 |
4 files changed, 21 insertions, 1 deletions
diff --git a/source/a/etc/_etc/etc/profile.d/home-profile.d.csh.new b/source/a/etc/_etc/etc/profile.d/home-profile.d.csh.new new file mode 100755 index 000000000..13da1e238 --- /dev/null +++ b/source/a/etc/_etc/etc/profile.d/home-profile.d.csh.new @@ -0,0 +1,9 @@ +#!/bin/csh + +if ( -d "$HOME/.profile.d") then + foreach i ("$HOME"/.profile.d/*.csh) + source "$i" + end +endif + +unsetenv i diff --git a/source/a/etc/_etc/etc/profile.d/home-profile.d.sh.new b/source/a/etc/_etc/etc/profile.d/home-profile.d.sh.new new file mode 100755 index 000000000..23078184f --- /dev/null +++ b/source/a/etc/_etc/etc/profile.d/home-profile.d.sh.new @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ -d "$HOME/.profile.d" ]; then + for i in "$HOME"/.profile.d/*.sh; do + . "$i" + done +fi + +unset i diff --git a/source/a/etc/doinst.sh b/source/a/etc/doinst.sh index bc68952f0..f87f9c69e 100644 --- a/source/a/etc/doinst.sh +++ b/source/a/etc/doinst.sh @@ -54,6 +54,8 @@ config etc/shells.new config etc/services.new config etc/issue.net.new config etc/nsswitch.conf.new +config etc/profile.d/home-profile.d.csh.new +config etc/profile.d/home-profile.d.sh.new config etc/profile.d/lang.csh.new config etc/profile.d/lang.sh.new config etc/profile.d/z-dot-in-non-root-path.csh.new diff --git a/source/a/etc/etc.SlackBuild b/source/a/etc/etc.SlackBuild index 1bbe1fe0e..6da923753 100755 --- a/source/a/etc/etc.SlackBuild +++ b/source/a/etc/etc.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=etc VERSION=15.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then |