Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 59b3f47e99e547aba91c70985b9f8e68 > scriptlet

brltty-4.2-3.fc14.x86_64.rpm

POSTIN

/bin/sh
devices="/dev/vcsa /dev/vcsa0 /dev/vcc/a"
install=true
for device in ${devices}
do
   if [ -c "${device}" ]
   then
      install=false
      break
   fi
done
if $install
then
   device="$(set -- ${devices} && echo "${1}")"
   mkdir -p "${device%/*}"
   mknod -m o= "${device}" c 7 128
   chmod 660 "${device}"
   chown root.tty "${device}"
fi
exit 0