aboutsummaryrefslogtreecommitdiff
path: root/system/trash-cli
diff options
context:
space:
mode:
Diffstat (limited to 'system/trash-cli')
-rw-r--r--system/trash-cli/README2
-rw-r--r--system/trash-cli/trash-cli.SlackBuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/system/trash-cli/README b/system/trash-cli/README
index 94d4c378b7..f0f3b09202 100644
--- a/system/trash-cli/README
+++ b/system/trash-cli/README
@@ -10,5 +10,5 @@ trash-list : list trashed files.
trash-restore : restore a trashed file.
trash-rm : remove individual files from trash can.
-python3-shtab is additionally required for installing trash-cli with
+python3-shtab is an optional dependency for building trash-cli with
shell completion support.
diff --git a/system/trash-cli/trash-cli.SlackBuild b/system/trash-cli/trash-cli.SlackBuild
index 3f483b4c46..a3bc307621 100644
--- a/system/trash-cli/trash-cli.SlackBuild
+++ b/system/trash-cli/trash-cli.SlackBuild
@@ -76,8 +76,8 @@ if $(python3 -c 'import pkgutil; exit(not pkgutil.find_loader("shtab"))'); then
mkdir -p $PKG/usr/share/bash-completion/completions
mkdir -p $PKG/usr/share/zsh/site-functions
for CMD in trash-empty trash-list trash-restore trash-put trash; do
- $CMD --print-completion bash > "$PKG/usr/share/bash-completion/completions/$CMD"
- $CMD --print-completion zsh > "$PKG/usr/share/zsh/site-functions/_$CMD"
+ ./$CMD --print-completion bash > "$PKG/usr/share/bash-completion/completions/$CMD"
+ ./$CMD --print-completion zsh > "$PKG/usr/share/zsh/site-functions/_$CMD"
done
fi