wok diff alsa-utils/receipt @ rev 19120

sqlite: fix arm build (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 13:44:26 2016 +0200 (2016-05-08)
parents e0cfbb41587f
children f0a0b5091b4a
line diff
     1.1 --- a/alsa-utils/receipt	Fri Oct 24 10:25:36 2014 +0200
     1.2 +++ b/alsa-utils/receipt	Sun May 08 13:44:26 2016 +0200
     1.3 @@ -51,14 +51,14 @@
     1.4  # sound card and settings working.
     1.5  pre_install()
     1.6  {
     1.7 -	if [ -f $1/etc/asound.state ]; then
     1.8 -		mv $1/etc/asound.state $1/tmp
     1.9 +	if [ -f "$1/etc/asound.state" ]; then
    1.10 +		mv "$1/etc/asound.state" "$1/tmp"
    1.11  	fi
    1.12  }
    1.13  
    1.14  post_install()
    1.15  {
    1.16 -	if [ -f $1/tmp/asound.state ]; then
    1.17 -		mv $1/tmp/asound.state $1/var/lib/alsa
    1.18 +	if [ -f "$1/tmp/asound.state" ]; then
    1.19 +		mv "$1/tmp/asound.state" "$1/var/lib/alsa"
    1.20  	fi
    1.21  }