1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

reordered group entry position in db_write (to be in line with alpm/db_write)

This commit is contained in:
Aurelien Foret 2006-01-26 20:49:18 +00:00
parent fb2331ab8b
commit 6d436b9603

View File

@ -97,6 +97,13 @@ db_write_entry()
echo "%DESC%" >>desc
echo "$pkgdesc" >>desc
echo "" >>desc
if [ ${#groups[*]} -gt 0 ]; then
echo "%GROUPS%" >>desc
for it in "${groups[@]}"; do
echo "$it" >>desc
done
echo "" >>desc
fi
echo "%CSIZE%" >>desc
echo "$csize" >>desc
echo "" >>desc
@ -105,13 +112,6 @@ db_write_entry()
echo "$pkgmd5sum" >>desc
echo "" >>desc
fi
if [ ${#groups[*]} -gt 0 ]; then
echo "%GROUPS%" >>desc
for it in "${groups[@]}"; do
echo "$it" >>desc
done
echo "" >>desc
fi
if [ ${#replaces[*]} -gt 0 ]; then
echo "%REPLACES%" >>desc
for it in "${replaces[@]}"; do