build_haiku_image: don't recreate indices when updating
mkinex fails when the indices already exist.
This commit is contained in:
@@ -292,6 +292,7 @@ if [ -n "$updateAllPackages" ]; then
|
|||||||
$mkdir -p "${tPrefix}system/packages"
|
$mkdir -p "${tPrefix}system/packages"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! $updateOnly ]; then
|
||||||
echo "Creating filesystem indices..."
|
echo "Creating filesystem indices..."
|
||||||
$mkindex -t string Audio:Album
|
$mkindex -t string Audio:Album
|
||||||
$mkindex -t string Audio:Artist
|
$mkindex -t string Audio:Artist
|
||||||
@@ -331,6 +332,7 @@ $mkindex -t int32 Media:Year
|
|||||||
$mkindex -t int32 MAIL:account_id
|
$mkindex -t int32 MAIL:account_id
|
||||||
$mkindex -t int32 MAIL:read
|
$mkindex -t int32 MAIL:read
|
||||||
$mkindex -t int32 MAIL:when
|
$mkindex -t int32 MAIL:when
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Populating image ..."
|
echo "Populating image ..."
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
|||||||
Reference in New Issue
Block a user