Sophie

Sophie

distrib > Mandriva > current > i586 > by-pkgid > f5a98ba527fc076ae49de587e738bb0d > scriptlet

libsmi-mibs-ext-0.4.8-5.1mdv2010.1.i586.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/libsmi/mibs/${DIR}" /etc/smi.conf ; then continue; fi
  echo "path :/usr/share/libsmi/mibs/${DIR}" >> /etc/smi.conf
done