diff options
-rw-r--r-- | packaging/hal-backend-tbm-dumb.spec | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packaging/hal-backend-tbm-dumb.spec b/packaging/hal-backend-tbm-dumb.spec index a900e05..d7efec2 100644 --- a/packaging/hal-backend-tbm-dumb.spec +++ b/packaging/hal-backend-tbm-dumb.spec @@ -42,10 +42,7 @@ mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-dumb cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-dumb %post -if [ -f %{_hal_libdir}/libhal-backend-tbm.so ]; then - rm -rf %{_hal_libdir}/libhal-backend-tbm.so -fi -ln -s libhal-backend-tbm-dumb.so %{_hal_libdir}/libhal-backend-tbm.so +ln -f -s libhal-backend-tbm-dumb.so %{_hal_libdir}/libhal-backend-tbm.so %postun -p /sbin/ldconfig |