diff -u gnome-power-manager-2.19.6/debian/changelog gnome-power-manager-2.19.6/debian/changelog --- gnome-power-manager-2.19.6/debian/changelog +++ gnome-power-manager-2.19.6/debian/changelog @@ -1,3 +1,10 @@ +gnome-power-manager (2.19.6-0ubuntu2) gutsy; urgency=low + + * debian/patches/72-fixbashizms.patchs + - fixes issue with dash (LP: #130598) + + -- Aron Sisak Mon, 06 Aug 2007 11:55:39 +0200 + gnome-power-manager (2.19.6-0ubuntu1) gutsy; urgency=low * New upstream release only in patch2: unchanged: --- gnome-power-manager-2.19.6.orig/debian/patches/72-fixbashizms.patch +++ gnome-power-manager-2.19.6/debian/patches/72-fixbashizms.patch @@ -0,0 +1,33 @@ +diff -Nur gnome-power-manager-2.19.6/tools/gnome-power-cmd.sh gnome-power-manager-2.19.6.new/tools/gnome-power-cmd.sh +--- gnome-power-manager-2.19.6/tools/gnome-power-cmd.sh 2007-07-19 01:48:02.000000000 +0200 ++++ gnome-power-manager-2.19.6.new/tools/gnome-power-cmd.sh 2007-08-06 11:53:26.691908267 +0200 +@@ -1,3 +1,4 @@ ++#!/bin/sh + # Copyright (C) 2007 Richard Hughes + # + # Licensed under the GNU General Public License Version 2 +@@ -24,19 +25,19 @@ + fi + } + +-if [ "$1" == "suspend" ]; then ++if [ "$1" = "suspend" ]; then + echo "Suspending" + execute_dbus_method "Suspend" +-elif [ "$1" == "hibernate" ]; then ++elif [ "$1" = "hibernate" ]; then + echo "Hibernating" + execute_dbus_method "Hibernate" +-elif [ "$1" == "reboot" ]; then ++elif [ "$1" = "reboot" ]; then + echo "Rebooting" + execute_dbus_method "Reboot" +-elif [ "$1" == "shutdown" ]; then ++elif [ "$1" = "shutdown" ]; then + echo "Shutting down" + execute_dbus_method "Shutdown" +-elif [ "$1" == "" ]; then ++elif [ "$1" = "" ]; then + echo "command required: suspend, shutdown, hibernate or reboot" + else + echo "command '$1' not recognised, only suspend, shutdown, hibernate or reboot are valid"