[pacman-dev] CVS update of pacman-lib/scripts (repo-add)
Dan McGee
dan at archlinux.org
Wed Apr 25 11:00:50 EDT 2007
Date: Wednesday, April 25, 2007 @ 11:00:50
Author: dan
Path: /home/cvs-pacman/pacman-lib/scripts
Modified: repo-add (1.7 -> 1.8)
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 at yahoo.de>
----------+
repo-add | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: pacman-lib/scripts/repo-add
diff -u pacman-lib/scripts/repo-add:1.7 pacman-lib/scripts/repo-add:1.8
--- pacman-lib/scripts/repo-add:1.7 Thu Mar 29 23:33:19 2007
+++ pacman-lib/scripts/repo-add Wed Apr 25 11:00:49 2007
@@ -148,7 +148,7 @@
# 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 @@
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
More information about the pacman-dev
mailing list