Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > scriptlet

Macaulay2-1.3.1-8.fc15.i686.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
  for info_file in BeginningMacaulay2 Benchmark BGG BoijSoederberg Browse Bruns ChainComplexExtras Classic ConvexInterface ConwayPolynomials Depth Dmodules EdgeIdeals Elimination FirstPackage FourierMotzkin FourTiTwo GenericInitialIdeal gfanInterface HyperplaneArrangements IntegralClosure InvolutiveBases LexIdeals LLLBases LocalRings Macaulay2Doc MapleInterface Markov NoetherNormalization Normaliz NumericalAlgebraicGeometry OpenMath PackageTemplate Parsing PieriMaps Points Polyhedra Polymake Posets PrimaryDecomposition RationalPoints ReesAlgebra Regularity Schubert2 SchurFunctors SchurRings SCSP SimpleDoc SimplicialComplexes SRdeformations StatePolytope Style SymmetricPolynomials TangentCone Text XML 
  do
    /sbin/install-info --delete --quiet /usr/share/info/${info_file}.info /usr/share/info/dir ||:
  done
fi

POSTIN

/bin/sh
touch --no-create /usr/share/icons/hicolor ||:
for info_file in BeginningMacaulay2 Benchmark BGG BoijSoederberg Browse Bruns ChainComplexExtras Classic ConvexInterface ConwayPolynomials Depth Dmodules EdgeIdeals Elimination FirstPackage FourierMotzkin FourTiTwo GenericInitialIdeal gfanInterface HyperplaneArrangements IntegralClosure InvolutiveBases LexIdeals LLLBases LocalRings Macaulay2Doc MapleInterface Markov NoetherNormalization Normaliz NumericalAlgebraicGeometry OpenMath PackageTemplate Parsing PieriMaps Points Polyhedra Polymake Posets PrimaryDecomposition RationalPoints ReesAlgebra Regularity Schubert2 SchurFunctors SchurRings SCSP SimpleDoc SimplicialComplexes SRdeformations StatePolytope Style SymmetricPolynomials TangentCone Text XML 
do
  /sbin/install-info --quiet /usr/share/info/${info_file}.info /usr/share/info/dir ||:
done

POSTUN

/bin/sh
if [ $1 -eq 0 ] ; then
touch --no-create /usr/share/icons/hicolor ||:
gtk-update-icon-cache -q /usr/share/icons/hicolor > /dev/null 2>&1 ||:
fi

POSTTRANS

/bin/sh
gtk-update-icon-cache -q /usr/share/icons/hicolor > /dev/null 2>&1 ||:

Triggers

emacs-common

/bin/sh
if [ -d /usr/share/emacs/site-lisp/ ]; then 
  for file in /usr/share/Macaulay2/emacs/M2*.el ; do
    ln -sf $file /usr/share/emacs/site-lisp// ||:
  done
fi

xemacs-common

/bin/sh
if [ -d /usr/share/xemacs/site-packages/lisp/ ]; then
  for file in /usr/share/Macaulay2/emacs/M2*.el ; do
    ln -sf $file /usr/share/xemacs/site-packages/lisp// ||:
  done
fi

emacs-common

/bin/sh
[ $2 -eq 0 ] && rm -f /usr/share/emacs/site-lisp//M2*.el* || :

xemacs-common

/bin/sh
[ $2 -eq 0 ] && rm -f /usr/share/xemacs/site-packages/lisp//M2*.el* || :