summaryrefslogtreecommitdiff
path: root/completions/apt-get
diff options
context:
space:
mode:
Diffstat (limited to 'completions/apt-get')
-rw-r--r--completions/apt-get4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/apt-get b/completions/apt-get
index 447305a4..a6c902e1 100644
--- a/completions/apt-get
+++ b/completions/apt-get
@@ -12,10 +12,10 @@ _apt_get()
fi
done
- if [ -n "$special" ]; then
+ if [[ -n $special ]]; then
case $special in
remove|autoremove|purge)
- if [ -f /etc/debian_version ]; then
+ if [[ -f /etc/debian_version ]]; then
# Debian system
COMPREPLY=( $( \
_xfunc dpkg _comp_dpkg_installed_packages $cur ) )