diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-25 17:00:49 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-25 17:00:49 +0200 |
commit | 4a6d963ae1aed944c18869e7b944a216ca8dc2db (patch) | |
tree | 3e0be50feb44761c2814100a3a62ae80b04ff271 | |
parent | a7e80fba9e9b53721261750e9e67a8c6356fc078 (diff) | |
download | pacman-4a6d963ae1aed944c18869e7b944a216ca8dc2db.tar.gz pacman-4a6d963ae1aed944c18869e7b944a216ca8dc2db.tar.xz |
repo-add: Fixed bug of missing desc entries if package is in a group
Fixes bug #7005 as reported and patched by
Marcus Habernehl <bmh1980de@yahoo.de>
-rwxr-xr-x | scripts/repo-add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/repo-add b/scripts/repo-add index dc280161..9a134688 100755 --- a/scripts/repo-add +++ b/scripts/repo-add @@ -148,7 +148,7 @@ db_write_entry() # create desc entry echo ":: creating 'desc' db entry" - echo -e "%FILENAME%\n$(basename $1)\n" >> desc + echo -e "%FILENAME%\n$(basename $1)\n" >>desc echo -e "%NAME%\n$pkgname\n" >>desc echo -e "%VERSION%\n$pkgver\n" >>desc if [ -n "$pkgdesc" ]; then @@ -157,7 +157,7 @@ db_write_entry() if [ -n "$_groups" ]; then echo "%GROUPS%" >>desc echo $_groups | tr -s ' ' '\n' >>desc - echo "" >desc + echo "" >>desc fi [ -n $csize ] && echo -e "%CSIZE%\n$csize\n" >>desc [ -n $size ] && echo -e "%ISIZE%\n$size\n" >>desc |