Add user .bashrc and .bash_profile files and slightly modified the system bashrc
This commit is contained in:
@@ -33,7 +33,7 @@ check() {
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Create /bin/sh symlink to bash
|
||||
# Create /bin/sh symlink to bash
|
||||
ln -s bash "$BPM_OUTPUT"/usr/bin/sh
|
||||
|
||||
# Configuration files
|
||||
@@ -41,5 +41,10 @@ package() {
|
||||
install -Dm644 ../bashrc "$BPM_OUTPUT"/etc/bashrc
|
||||
install -d "$BPM_OUTPUT"/etc/profile.d
|
||||
|
||||
# Default user files
|
||||
install -Dm644 ../user.bash_profile "$BPM_OUTPUT"/etc/skel/.bash_profile
|
||||
install -Dm644 ../user.bashrc "$BPM_OUTPUT"/etc/skel/.bashrc
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/bash/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user