~ubuntu-branches/ubuntu/precise/joystick/precise

« back to all changes in this revision

Viewing changes to utils/jscal-store.in

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2011-09-08 07:25:39 UTC
  • mfrom: (3.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20110908072539-ekne0xts1qceh0sz
Tags: 1:1.4.2-1
* New upstream release:
  - Splits the udev rules for w8001 devices so that the correct baud
    rate is used. Closes: #632961.
  - Documents the conflict with xserver-xorg-input-wacom.
  - Creates /var/lib/joystick/ if necessary. Closes: #632623.
  - inputattach avoids resetting the line discipline if the device is
    already in use. Closes: #630173.
* Remove braces in joystick.install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
STORE=/var/lib/joystick/joystick.state
26
26
 
 
27
if [ ! -d $(dirname $STORE) ]; then
 
28
    mkdir -p $(dirname $STORE)
 
29
    if [ $? -gt 0 ]; then
 
30
        echo Unable to create directory $(dirname $STORE)! >&2
 
31
        exit 1
 
32
    fi
 
33
fi
 
34
 
27
35
# Filter the existing file
28
36
if [ -f $STORE ]; then
29
37
    if [ -z "$NAME" ] && [ -z "$VENDOR" ]; then