Bug 224570

Summary: Error in post install script
Product: [Fedora] Fedora Reporter: Phil Knirsch <pknirsch>
Component: brlttyAssignee: Tomas Janousek <tjanouse>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: brltty-3.7.2-2.1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-30 12:35:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Phil Knirsch 2007-01-26 14:57:42 UTC
During an automated install/deinstall check the following error has happened:

ERROR: Output running post install script for package brltty-0:3.7.2-1.fc6.i386
Creating screen inspection device /dev/vcsa...done.

Removing the echo lines from the post install script will fix the problem.


postinstall scriptlet (using /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