mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
bash_completion: fix the recipe and add support for pkgman and finddir
This commit is contained in:
@@ -55,7 +55,7 @@ CHECKSUM_SHA256_042="b75a53141ab3d8fff3fa74b5f3dc76468b01eae299f50bbc2bc71ae395d
|
||||
|
||||
PATCHES="bash-kill_by_name.patch"
|
||||
SOURCE_DIR="bash-4.3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1987-2014 Free Software Foundation, Inc."
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
@@ -125,6 +125,13 @@ for f in ~/.bash* ~/.profile ; do
|
||||
done
|
||||
EOF
|
||||
chmod a+x $prefix/boot/post-install/move-bash-files.sh
|
||||
|
||||
# Use bash-completion, if available
|
||||
cat <<'EOF' > $settingsDir/bashrc
|
||||
#!/bin/bash
|
||||
[[ $PS1 && -f /system/data/bash-completion/bash_completion ]] && \
|
||||
. /system/data/bash-completion/bash_completion
|
||||
EOF
|
||||
}
|
||||
|
||||
POST_INSTALL_SCRIPTS="
|
||||
|
||||
Reference in New Issue
Block a user