aboutsummaryrefslogtreecommitdiff
path: root/old/lspkg.old
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-09-23 15:41:24 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-09-23 15:41:24 +0000
commit661a3a4e39bb2a3f6f43e71d5918e39f5df17ec4 (patch)
treea8b45fc41fd8454fe6b1ba1fede60584e66e00ef /old/lspkg.old
parent3cead8153e1048a6ff32107bf59f0dc1f7d6d2ce (diff)
downloadsimplepkg-661a3a4e39bb2a3f6f43e71d5918e39f5df17ec4.tar.gz
simplepkg-661a3a4e39bb2a3f6f43e71d5918e39f5df17ec4.tar.bz2
moved old/ to utils/ and deleted old stuff
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@9 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'old/lspkg.old')
-rwxr-xr-xold/lspkg.old31
1 files changed, 0 insertions, 31 deletions
diff --git a/old/lspkg.old b/old/lspkg.old
deleted file mode 100755
index fe28a65..0000000
--- a/old/lspkg.old
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-#
-# lspkg
-# feedback: rhatto at riseup.net | gpl
-#
-# todo:
-#
-# -r, --remove: remove matching packages
-# -d, --description: show matching packages' descriptions
-# -s, --search: search a file under the matching packages
-# -p, --print: print the contents of a package file
-#
-
-function usage {
- echo usage: $0 [-v|-d|-s|-p expression]
- exit 1
-}
-
-if [[ "$1" == "-v" ]]; then
- if [[ ! -z "$2" ]]; then
- less $(ls /var/log/packages/$2*)
- else
- usage
- fi
-elif [[ $1 = -p ]]; then
- if [ -f $2 ]; then
- tar ztvf $2
- fi
-else
- ls /var/log/packages/$1*
-fi