Add /etc/profile.d directory support
This commit is contained in:
@@ -32,10 +32,14 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Create /bin/sh symlink to bash
|
||||
ln -s bash "$BPM_OUTPUT"/usr/bin/sh
|
||||
mkdir -p "$BPM_OUTPUT"/etc
|
||||
cp ../profile "$BPM_OUTPUT"/etc/profile
|
||||
cp ../bashrc "$BPM_OUTPUT"/etc/bashrc
|
||||
|
||||
# Configuration files
|
||||
install -Dm644 ../profile "$BPM_OUTPUT"/etc/profile
|
||||
install -Dm644 ../bashrc "$BPM_OUTPUT"/etc/bashrc
|
||||
install -d "$BPM_OUTPUT"/etc/profile.d
|
||||
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/bash/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user