common/hooks/post-install/06-prepare-32bit.sh: fix generated rdeps file.

The entries must be separated by blanks not newlines.
This commit is contained in:
Juan RP 2014-03-06 04:19:07 +01:00
parent 387543b2de
commit dddb603aeb
1 changed files with 3 additions and 2 deletions

View File

@ -67,12 +67,13 @@ hook() {
else
pkgv="$($XBPS_UHELPER_CMD getpkgdepversion ${f})"
fi
echo "${pkgn}32${pkgv}" >> $destdir32/rdeps
printf "${pkgn}32${pkgv} " >> $destdir32/rdeps
done
fi
# If it's a development pkg add a dependency to the 64bit pkg.
if [[ $pkgname =~ '-devel' ]]; then
echo "${pkgver}" >> $destdir32/rdeps
printf "${pkgver} " >> $destdir32/rdeps
fi
printf "\n" >> $destdir32/rdeps
}