From e1ce188d86ca344b44e02dbba4ea6a34b6f73c5a Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 11 Apr 2007 17:57:40 +0000 Subject: small fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@337 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/lspkg | 3 ++- trunk/src/repos | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'trunk/src') diff --git a/trunk/src/lspkg b/trunk/src/lspkg index 167b547..01900f2 100755 --- a/trunk/src/lspkg +++ b/trunk/src/lspkg @@ -107,8 +107,9 @@ case $1 in "-d"|"--description") if [ ! -z "$2" ]; then for file in $LIST_PKGS; do + pack="`package_name $file`" echo -e " Package description for $file:\n" - sed -n '/^xine-ui:/ { s/xine-ui://; p; }' $file + sed -n "/^$pack:/ { s/$pack://; p; }" $file done else head_line diff --git a/trunk/src/repos b/trunk/src/repos index f9605ad..e4a17ee 100755 --- a/trunk/src/repos +++ b/trunk/src/repos @@ -10,10 +10,6 @@ # # Changes by rhatto at riseup.net to fit http://slack.sarava.org needs # -# TODO: - config file options -# - integration with binary repository -# - package's and CHECKSUMS.md5 signature creation -# BASENAME="`basename $0`" REPOS_CONF="/etc/simplepkg/repos.conf" -- cgit v1.2.3