diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-11 17:57:40 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-11 17:57:40 +0000 |
commit | e1ce188d86ca344b44e02dbba4ea6a34b6f73c5a (patch) | |
tree | 5cf066d74db4f32428d86d64b3f74aa0e194fb94 /trunk/src/lspkg | |
parent | 4d3757ed2de98426c519b1ae580e293917502f42 (diff) | |
download | simplepkg-e1ce188d86ca344b44e02dbba4ea6a34b6f73c5a.tar.gz simplepkg-e1ce188d86ca344b44e02dbba4ea6a34b6f73c5a.tar.bz2 |
small fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@337 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/lspkg')
-rwxr-xr-x | trunk/src/lspkg | 3 |
1 files changed, 2 insertions, 1 deletions
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 |