aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-11 17:57:40 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-11 17:57:40 +0000
commite1ce188d86ca344b44e02dbba4ea6a34b6f73c5a (patch)
tree5cf066d74db4f32428d86d64b3f74aa0e194fb94 /trunk/src
parent4d3757ed2de98426c519b1ae580e293917502f42 (diff)
downloadsimplepkg-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')
-rwxr-xr-xtrunk/src/lspkg3
-rwxr-xr-xtrunk/src/repos4
2 files changed, 2 insertions, 5 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
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"