1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-11 13:59:02 -05:00

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>
This commit is contained in:
Dan McGee 2007-04-25 15:00:49 +00:00
parent a7e80fba9e
commit 4a6d963ae1

View File

@ -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