Package: smart-notifier
Version: 0.28-1.1
Severity: minor
Tags: patch

Everyone's favourite shell-scripting mistake. scripts/60smart-notifier
contains:

#!/bin/bash
[ -x /usr/bin/smart-notifier ] || exit 0
cat ${1} | /usr/bin/smart-notifier --notify

This could be simplified to:

#!/bin/sh
[ -x /usr/bin/smart-notifier ] || exit 0
/usr/bin/smart-notifier --notify < "$1"

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smart-notifier depends on:
ii  dbus                          1.2.1-5    simple interprocess messaging syst
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-glade2                 2.12.1-6   GTK+ bindings: Glade support
ii  python-gtk2                   2.12.1-6   Python bindings for the GTK+ widge
ii  smartmontools                 5.38-2     control and monitor storage system

smart-notifier recommends no packages.

smart-notifier suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to