]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Moved bash startup files to subdir.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 May 2009 09:48:21 +0000 (11:48 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 May 2009 09:48:21 +0000 (11:48 +0200)
config/bash/bashrc [moved from config/etc/bashrc with 100% similarity]
config/bash/inputrc [moved from config/etc/inputrc with 100% similarity]
config/bash/profile [moved from config/etc/profile with 100% similarity]
config/bash/profile.d/dircolors.sh [moved from config/profile.d/dircolors.sh with 100% similarity]
config/bash/profile.d/extrapaths.sh [moved from config/profile.d/extrapaths.sh with 100% similarity]
config/bash/profile.d/i18n.sh [moved from config/profile.d/i18n.sh with 100% similarity]
config/bash/profile.d/readline.sh [moved from config/profile.d/readline.sh with 100% similarity]
config/bash/profile.d/umask.sh [moved from config/profile.d/umask.sh with 100% similarity]
config/bash/shells [moved from config/etc/shells with 100% similarity]
lfs/bash

similarity index 100%
rename from config/etc/bashrc
rename to config/bash/bashrc
similarity index 100%
rename from config/etc/inputrc
rename to config/bash/inputrc
similarity index 100%
rename from config/etc/profile
rename to config/bash/profile
similarity index 100%
rename from config/etc/shells
rename to config/bash/shells
index 0e6adef8dd1508751e1ca06cef7b4b092f2b28ea..2c6647c54e73ca9f65851699c48fc8fa98d53f0c 100644 (file)
--- a/lfs/bash
+++ b/lfs/bash
@@ -133,10 +133,7 @@ ifeq "$(STAGE)" "base"
        cd $(DIR_APP) && make install
 
        # Bash startup files
-       install --directory --mode=0755 --owner=root --group=root /etc/profile.d
-       for i in $(DIR_CONFIG)/profile.d/*; do \
-           [ -f $$i ] && cp $$i /etc/profile.d; \
-       done
+       cp -avf $(DIR_CONFIG)/bash/{bashrc,inputrc,profile,profile.d,shells} /etc
 endif
 
        @rm -rf $(DIR_APP)