summaryrefslogtreecommitdiff
path: root/extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch')
-rw-r--r--extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch b/extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch
new file mode 100644
index 00000000..da7f08e6
--- /dev/null
+++ b/extra/source/bash-completion/slackpkg-slapt-get-Update-the-list-of-package-sets.patch
@@ -0,0 +1,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
+