diff --git a/sagemath.spec b/sagemath.spec index 2873bf3..05a8acf 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -1344,6 +1344,7 @@ exit 0 /sbin/ldconfig exit 0 +%if %{with docs} # Upgrade correction for change from directory to symlink %post doc if [ ! -e %{SAGE_DOC}/common ]; then @@ -1358,6 +1359,7 @@ if [ $1 -eq 0 ] ; then fi fi exit 0 +%endif %post sagetex %{_bindir}/mktexlsr