summaryrefslogtreecommitdiff
path: root/extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch
blob: da7f08e64c5eb209af06b97e0ce8e1dd836ee9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From 371fb91b213c3bb4b86eb22e09701ec1be18b7dd Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Wed, 25 Jul 2012 02:39:23 +0400
Subject: [PATCH] slackpkg, slapt-get: Update the list of package sets.

Xfce has its own package set in Slackware-14.0.
---
 completions/slackpkg  | 4 ++--
 completions/slapt-get | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/completions/slackpkg b/completions/slackpkg
index 1be2f95..dab9c6d 100644
--- a/completions/slackpkg
+++ b/completions/slackpkg
@@ -70,14 +70,14 @@ _slackpkg()
         remove)
             _filedir
             COMPREPLY+=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x
-                xap y' -- "$cur" ) )
+                xap xfce y' -- "$cur" ) )
             COMPREPLY+=( $( cd /var/log/packages; compgen -f -- "$cur" ) )
             return
             ;;
         install|reinstall|upgrade|blacklist|download)
             _filedir
             COMPREPLY+=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x
-                xap y' -- "$cur" ) )
+                xap xfce y' -- "$cur" ) )
             COMPREPLY+=( $( cut -f 6 -d\  "${WORKDIR}/pkglist" 2> /dev/null | \
                 grep "^$cur" ) )
             return
diff --git a/completions/slapt-get b/completions/slapt-get
index ff42660..93d110b 100644
--- a/completions/slapt-get
+++ b/completions/slapt-get
@@ -70,7 +70,7 @@ _slapt_get()
             ;;
         set) # --install-set
             COMPREPLY=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x
-                xap y' -- "$cur" ) )
+                xap xfce y' -- "$cur" ) )
             return
             ;;
     esac
-- 
1.7.11.1