Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > contrib-release > by-pkgid > 8ded883f54c107e83632fa5aadbedcca > scriptlet

libsmi-mibs-ext-0.4.5-1mdv2007.0.x86_64.rpm

POSTIN

/bin/sh
## Append to config file: path for irtf and tubs
if test ! -f /etc/smi.conf; then echo "# Generated by libsmi" > /etc/smi.conf ; fi
for DIR in irtf tubs ; do
  if /bin/grep -q -e "^path.*/usr/share/mibs/${DIR}" /etc/smi.conf ; then continue; fi
  echo "path :/usr/share/mibs/${DIR}" >> /etc/smi.conf
done