shutils/metadata.sh: only change mode to flist if exists.

--HG--
extra : convert_revision : b90ea5ff5caecec62950a62918dee066962b84c1
This commit is contained in:
Juan RP 2009-08-10 22:24:13 +02:00
parent 25ec55070b
commit 57ca1b1171

View File

@ -351,7 +351,9 @@ _EOF
$XBPS_REGPKGDB_CMD sanitize-plist ${DESTDIR}/files.plist
$XBPS_REGPKGDB_CMD sanitize-plist ${DESTDIR}/props.plist
chmod 644 ${metadir}/flist ${DESTDIR}/files.plist ${DESTDIR}/props.plist
chmod 644 ${DESTDIR}/files.plist ${DESTDIR}/props.plist
[ -f $metadir/flist ] && chmod 644 $metadir/flist
#
# Update desktop-file-utils database if package contains
# any desktop file in /usr/share/applications.