Package: joystick
Version: 20051019-5

Hello,

the new postinst fails if there is no joystick attached while package
installation:

Setting up joystick (20051019-7) ...
Restoring joystick calibration: no joysticks available failed!
invoke-rc.d: initscript joystick, action "start" failed.
dpkg: error processing joystick (--configure):
 subprocess installed post-installation script returned error exit status 1

This is due to the postinst code added by dh_installinit.
I personally think it's quite common not to have a joystick attached all
the time, thus working around init-script failures in the postinst
script would be justifyable.
A possible work-around could be the use of
        dh_installinit --error-handler=true
which would just inhibit any init-script error. However, I'm not sure if
using true as error-handler is legitimate w.r.t. the policy.


Thanks for your work & regards
   Mario
-- 
$ make fire
Don't know how to make fire
$ Why not?
No match

Attachment: signature.asc
Description: Digital signature

Reply via email to