[Pkg-utopia-commits] r1225 - packages/unstable/hal/debian/patches

Sjoerd Simons sjoerd at alioth.debian.org
Mon Jan 15 23:10:46 CET 2007


Author: sjoerd
Date: 2007-01-15 23:10:45 +0100 (Mon, 15 Jan 2007)
New Revision: 1225

Modified:
   packages/unstable/hal/debian/patches/19_sonypi_support.patch
Log:
Fix tabs that were lost in copying the patch

Modified: packages/unstable/hal/debian/patches/19_sonypi_support.patch
===================================================================
--- packages/unstable/hal/debian/patches/19_sonypi_support.patch	2007-01-15 21:55:12 UTC (rev 1224)
+++ packages/unstable/hal/debian/patches/19_sonypi_support.patch	2007-01-15 22:10:45 UTC (rev 1225)
@@ -12,21 +12,22 @@
  		echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
 --- hal-0.5.8.vanilla/tools/linux/hal-system-lcd-set-brightness-linux
 +++ hal-0.5.8/tools/linux/hal-system-lcd-set-brightness-linux
-@@ -47,16 +47,7 @@ elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "omnibook" ]; then
-   # http://bugzilla.gnome.org/show_bug.cgi?id=331458
-   echo "$value" > $HAL_PROP_LINUX_ACPI_PATH
+@@ -46,16 +46,7 @@ 
+ elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "omnibook" ]; then
+ 	# http://bugzilla.gnome.org/show_bug.cgi?id=331458
+ 	echo "$value" > $HAL_PROP_LINUX_ACPI_PATH
  elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sonypi" ]; then
--  # spicctrl -B
--  # 70
--  # 0..255
--  value="`/usr/sbin/spicctrl -B`"
--  RETVAL=$?
--  if [ $RETVAL != 0 ]; then
--     echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
--     exit 1;
--  fi
--  exit ${value}
-+  /usr/bin/spicctrl -b ${value}
+-	# spicctrl -B
+-	# 70
+-	# 0..255
+-	value="`/usr/sbin/spicctrl -B`"
+-	RETVAL=$?
+-	if [ $RETVAL != 0 ]; then
+-		echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
+-		exit 1;
+-	fi
+-	exit ${value}
++	/usr/bin/spicctrl -b ${value}
  else
-   echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
-   echo "No ACPI method found" >&2
+ 	echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
+ 	echo "No ACPI method found" >&2




More information about the Pkg-utopia-commits mailing list