Package: steam Version: 2.2.31-5 Severity: normal Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Fix remaining bashism which applied by debian/patches/dont-loose-data-on-shutdown.dpatch. Patch is attached. Cheers, Neutron Soutmun - -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores) Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkue9k8ACgkQ1k7Ar9TO/TdhKwCgs8epIKYoBVwGT6jYufqQklPa bicAoINfhIZh9lg7GdYICVkfOp+qL7N2 =9e8W -----END PGP SIGNATURE-----
diff -u steam-2.2.31/debian/changelog steam-2.2.31/debian/changelog --- steam-2.2.31/debian/changelog +++ steam-2.2.31/debian/changelog @@ -1,3 +1,10 @@ +steam (2.2.31-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix bashisms (Closes: #530194). + + -- Neutron Soutmun <neo.neut...@gmail.com> Tue, 16 Mar 2010 09:44:30 +0700 + steam (2.2.31-5) unstable; urgency=low * QA upload. (Closes: #474320). diff -u steam-2.2.31/debian/patches/40_bashisms.dpatch steam-2.2.31/debian/patches/40_bashisms.dpatch --- steam-2.2.31/debian/patches/40_bashisms.dpatch +++ steam-2.2.31/debian/patches/40_bashisms.dpatch @@ -5,10 +5,15 @@ ## DP: Fix bashism in stop script. @DPATCH@ -diff -urNad steam-2.2.31~/stop steam-2.2.31/stop ---- steam-2.2.31~/stop 2006-03-27 14:40:05.000000000 +0200 -+++ steam-2.2.31/stop 2008-08-03 14:07:49.000000000 +0200 -@@ -5,10 +5,10 @@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' steam-2.2.31~/stop steam-2.2.31/stop +--- steam-2.2.31~/stop 2010-03-16 09:43:35.000000000 +0700 ++++ steam-2.2.31/stop 2010-03-16 09:44:02.000000000 +0700 +@@ -3,14 +3,14 @@ + cat_func="head -n 1" + for tmp_option in $@ + do +- [ "$tmp_option" == "--force" ] && cat_func='cat' ++ [ "$tmp_option" = "--force" ] && cat_func='cat' # Extract options and values (format: option=value): option=${tmp_option%%=*} value=${tmp_option#*=} @@ -23,2 +28,2 @@ - [ -e "$pidfile" ] && kill `cat $pidfile` - [ -e "$pidfile" ] && rm -f "$pidfile" + [ -e "$pidfile" ] && kill `$cat_func $pidfile` + while test -e "$pidfile"