aboutsummaryrefslogtreecommitdiff
path: root/office/adobe-reader
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-08-01 04:00:09 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:55 -0500
commit61ea80c0898fc3369c2b8562a3d06d5b2ed62e59 (patch)
tree5cec99a7c68cff39b8747ab6451039bc37e54c4d /office/adobe-reader
parentde18b864ae758a04f29489d5d8797ac760ad07cb (diff)
office/adobe-reader: Use systemwide dir for bash-completion file
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