summaryrefslogtreecommitdiff
path: root/source/d/mercurial
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/mercurial')
-rwxr-xr-xsource/d/mercurial/mercurial.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/d/mercurial/mercurial.SlackBuild b/source/d/mercurial/mercurial.SlackBuild
index 0069eac2..b1629a65 100755
--- a/source/d/mercurial/mercurial.SlackBuild
+++ b/source/d/mercurial/mercurial.SlackBuild
@@ -26,7 +26,7 @@ BUILD=${BUILD-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
@@ -71,9 +71,9 @@ path=/usr/libexec/mercurial/hgk
EOF
# Bash and zsh completion:
-mkdir -p $PKG/etc/bash_completion.d
-cp -a contrib/bash_completion $PKG/etc/bash_completion.d/mercurial.sh
-chmod 644 $PKG/etc/bash_completion.d/mercurial.sh
+mkdir -p $PKG/usr/share/bash-completion/completions/
+cp -a contrib/bash_completion $PKG/usr/share/bash-completion/completions/hg
+chmod 644 $PKG/usr/share/bash-completion/completions/hg
mkdir -p $PKG/usr/share/zsh/site-functions
cp -a contrib/zsh_completion $PKG/usr/share/zsh/site-functions/_mercurial
chmod 644 $PKG/usr/share/zsh/site-functions/_mercurial