Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 1f7b33284238294dc4233f4d31c70cc8 > scriptlet

libsmi-mibs-ext-0.4.8-7.mga3.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 /usr/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