diff --git a/juliaup.spec b/juliaup.spec index 7c900c2..4558a21 100644 --- a/juliaup.spec +++ b/juliaup.spec @@ -106,7 +106,7 @@ ln -sf %{_sysconfdir}/alternatives/julia %{buildroot}%{_bindir}/julia "%_bindir/julia" julia "%_bindir/julialauncher" 1 %pre -if [ "$1" -gt 0 ] && [ -f %{_sbindir/update-alternatives} ] ; then +if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] ; then "%_sbindir/update-alternatives" --remove julia "%_bindir/julialauncher"; fi;