aboutsummaryrefslogtreecommitdiff
path: root/office/adobe-reader
diff options
context:
space:
mode:
Diffstat (limited to 'office/adobe-reader')
-rw-r--r--office/adobe-reader/adobe-reader.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/office/adobe-reader/adobe-reader.SlackBuild b/office/adobe-reader/adobe-reader.SlackBuild
index 69e9bd5a8896c..d5f88ef5b9730 100644
--- a/office/adobe-reader/adobe-reader.SlackBuild
+++ b/office/adobe-reader/adobe-reader.SlackBuild
@@ -109,11 +109,10 @@ cd -
# http://forums.adobe.com/thread/745833
sed -i 's/_filedir/_acroread_filedir/g' $PKG/opt/Adobe/Reader9/Resource/Shell/acroread_tab
-# Link bash_completion script to /etc/bash_completion.d
-mkdir -p $PKG/etc/bash_completion.d
-cd $PKG/etc/bash_completion.d
- ln -sf ../../opt/Adobe/Reader9/Resource/Shell/acroread_tab acroread
-cd -
+# Link completion script to /usr/share/bash-completion/completions
+mkdir -p $PKG/usr/share/bash-completion/completions
+ln -sf /opt/Adobe/Reader9/Resource/Shell/acroread_tab \
+ $PKG/usr/share/bash-completion/completions/acroread
# Move docs to their correct locations
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION