bash_completion: fix the recipe and add support for pkgman and finddir

This commit is contained in:
Kostadin Damyanov
2015-09-24 00:15:45 +03:00
parent e51e57ff25
commit dba1be760e
3 changed files with 121 additions and 16 deletions

View File

@@ -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="