Add user .bashrc and .bash_profile files and slightly modified the system bashrc

This commit is contained in:
2025-04-23 07:38:38 +03:00
parent 53c945b657
commit f562d2d86b
6 changed files with 29 additions and 12 deletions
+6 -1
View File
@@ -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
}