Merge pull request #311 from Max-Might/master

bash_completion: fix the recipe and add support for pkgman and finddir
This commit is contained in:
waddlesplash
2015-10-10 13:06:46 -04:00
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"
@@ -126,6 +126,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="