diff --git a/openSUSE-MicroOS-release.spec.in b/openSUSE-MicroOS-release.spec.in index d34b070..9c771a7 100644 --- a/openSUSE-MicroOS-release.spec.in +++ b/openSUSE-MicroOS-release.spec.in @@ -90,14 +90,14 @@ ___CREATE_PRODUCT_FILES___ %post # Update from openSUSE-Tumbleweed-Kubic to openSUSE-MicroOS # Fix the baseproduct symlink and make sure, it exists -if [ -L /etc/products.d/baseproduct ] ; then - PRODLINK=$(basename $(readlink -f /etc/products.d/baseproduct)) +if [ -L %{_sysconfdir}/products.d/baseproduct ] ; then + PRODLINK=$(basename $(readlink -f %{_sysconfdir}/products.d/baseproduct)) if [ "$PRODLINK" == "openSUSE-Tumbleweed-Kubic.prod" ]; then - rm -f /etc/products.d/baseproduct + rm -f %{_sysconfdir}/products.d/baseproduct fi fi -if [ ! -e /etc/products.d/baseproduct ]; then - ln -sf openSUSE-MicroOS.prod /etc/products.d/baseproduct +if [ ! -e %{_sysconfdir}/products.d/baseproduct ]; then + ln -sf openSUSE-MicroOS.prod %{_sysconfdir}/products.d/baseproduct fi %files diff --git a/openSUSE-MicroOS.product.in b/openSUSE-MicroOS.product.in index 7f6b20a..08a6007 100644 --- a/openSUSE-MicroOS.product.in +++ b/openSUSE-MicroOS.product.in @@ -102,21 +102,22 @@ - - - - + - - + + +