Change condition test to compare to a link "-L"

This commit is contained in:
Jason Mehring 2014-10-31 01:56:19 -04:00
parent b04594ed60
commit 3366af3f55

View File

@ -276,7 +276,7 @@ fi
if [ $1 -eq 0 ] ; then
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
if [ -l /lib/firmware/updates ]; then
if [ -L /lib/firmware/updates ]; then
rm /lib/firmware/updates
fi
fi