From e75f5dae7d7df95303b310af2e2f4ee17bd9ee12 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Aug 22 2006 13:53:36 +0000 Subject: - Fix typos in apmscript (#194024) --- diff --git a/apmd.spec b/apmd.spec index fc63fd1..99ed055 100644 --- a/apmd.spec +++ b/apmd.spec @@ -1,7 +1,7 @@ Summary: Advanced Power Management (APM) BIOS utilities for laptops. Name: apmd Version: 3.2.2 -Release: 4.1 +Release: 5 Source: ftp://ftp.debian.org/debian/pool/main/a/apmd/%{name}_%{version}.orig.tar.gz Source1: apmd.init Source2: apmscript @@ -96,6 +96,9 @@ fi %config /etc/sysconfig/apm-scripts/* %changelog +* Tue Aug 22 2006 Jesse Keating - 1:3.2.2-5 +- Fix typos in apmscript (#194024) + * Wed Jul 12 2006 Jesse Keating - 1:3.2.2-4.1 - rebuild diff --git a/apmscript b/apmscript index c7366a7..3b9add2 100755 --- a/apmscript +++ b/apmscript @@ -58,7 +58,7 @@ case "$PROG" in SOUNDDISPLAY=`perl -e 's/\000/\n/g;' -p /proc/$SOUNDPID/environ| LC_ALL=C grep ^DISPLAY=|cut -d= -f2-` # Make sure nobody is playing foul tricks on us - SOUNDPROG=`echo $SOUNDPROG |sed -e "s/|.*//` + SOUNDPROG=`echo $SOUNDPROG |sed -e 's/|.*//'` kill $SOUNDPID ps "$SOUNDPID" &>/dev/null && kill -9 $SOUNDPID @@ -73,7 +73,7 @@ case "$PROG" in SOUNDDISPLAY=`perl -e 's/\000/\n/g;' -p /proc/$SOUNDPID/environ| LC_ALL=C grep ^DISPLAY=|cut -d= -f2-` # Make sure nobody is playing foul tricks on us - SOUNDPROG=`echo $SOUNDPROG |sed -e "s/|.*//` + SOUNDPROG=`echo $SOUNDPROG |sed -e 's/|.*//'` kill $SOUNDPID ps "$SOUNDPID" &>/dev/null && kill -9 $SOUNDPID