~ubuntu-branches/ubuntu/trusty/pm-utils/trusty-updates

« back to all changes in this revision

Viewing changes to pm/functions.in

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-02-16 15:22:15 UTC
  • mfrom: (40.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100216152215-ldnggaxqkmsxr54s
Tags: 1.3.0~rc3-2
* Bump Standards-Version to 3.8.4. No further changes.
* debian/patches/06-quirk-lkw-cache.patch
  - Store the last_known_working.quirkdb cache file in /var/cache/pm-utils.
* debian/pm-utils.dirs
  - Add /var/cache/pm-utils/ directory.
* debian/pm-utils.preinst
  - Remove last_known_working.quirkdb cache file from /etc/pm on upgrades.
* debian/control
  - Add Recommends on procps. The sysctl binary is required for setting the
    acpi flags in 99video.
* debian/patches/07-fix-typo-pm-action.patch
  - Fix typo ('lits') in pm-action man page. (Closes: #567084)
    Thanks to Filipus Klutiero for spotting this.
* debian/patches/08-fix-lock-file-handling.patch
  - Use flock to make the lock file handling more robust. (Closes: #568565)
* debian/patches/09-document-add-drop-parameters.patch
  - Document the {ADD,DROP}_PARAMETERS configuration variables in the
    pm-action man page. (Closes: #485443)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
is_set()
9
9
{
10
10
    case ${1-UNSET} in
11
 
        true|yes|TRUE|YES|on|ON|1'') return 0;;
12
 
        false|FALSE|no|NO|off|OFF|0|UNSET) return 1;;
 
11
        true|yes|TRUE|YES|on|ON|1) return 0;;
 
12
        false|FALSE|no|NO|off|OFF|0) return 1;;
13
13
        *) return 2;;
14
14
    esac
15
15
}