From 7a5553dc6c5f1cb95c194496484058ad17fb0c04 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 24 May 2013 18:42:25 +0200 Subject: [PATCH] bash: Also install default bash profile files to "/etc/skel". The default bash profile files for uses have been missed so the could not copied to the home directory of a new created user. --- bash/bash.nm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/bash/bash.nm b/bash/bash.nm index d78fb71c6..83435ded3 100644 --- a/bash/bash.nm +++ b/bash/bash.nm @@ -5,7 +5,7 @@ name = bash version = 4.2 -release = 10 +release = 11 groups = System/Tools url = http://www.gnu.org/software/bash/ @@ -13,9 +13,9 @@ license = GPLv2+ summary = Bash is short for born again shell. description - Bash is the shell, or command language interpreter, that will appear in \ - the GNU operating system. Bash is an sh-compatible shell that incorporates \ - useful features from the Korn shell (ksh) and C shell (csh). It is intended \ + Bash is the shell, or command language interpreter, that will appear in + the GNU operating system. Bash is an sh-compatible shell that incorporates + useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. end @@ -52,9 +52,14 @@ build #end install_cmds - mkdir -pv %{BUILDROOT}/{etc/profile.d,root} + mkdir -pv %{BUILDROOT}%{sysconfdir}/{profile.d,skel} + mkdir -pv %{BUILDROOT}/root # Bash startup files + cp -vf %{DIR_SOURCE}/dot_bash_logout %{BUILDROOT}%{sysconfdir}/skel/.bash_logout + cp -vf %{DIR_SOURCE}/dot_bash_profile %{BUILDROOT}%{sysconfdir}/skel/.bash_profile + cp -vf %{DIR_SOURCE}/dot_bashrc %{BUILDROOT}%{sysconfdir}/skel/.bashrc + cp -vf %{DIR_SOURCE}/dot_bash_logout %{BUILDROOT}/root/.bash_logout cp -vf %{DIR_SOURCE}/dot_bash_profile %{BUILDROOT}/root/.bash_profile cp -vf %{DIR_SOURCE}/dot_bashrc %{BUILDROOT}/root/.bashrc -- 2.47.3