Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 4464d6d454d885faed3a209d22377bc7 > scriptlet

libsmi-mibs-ext-0.4.8-6.mga1.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