Change condition test to compare to a link "-L"
This commit is contained in:
parent
b04594ed60
commit
3366af3f55
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user