wok diff mgetty/receipt @ rev 18831

linux-module-headers: avoid depmod during install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 18 17:45:22 2016 +0100 (2016-01-18)
parents 1debe89dc518
children e8c84b81fa04
line diff
     1.1 --- a/mgetty/receipt	Mon Sep 21 13:07:56 2015 +0200
     1.2 +++ b/mgetty/receipt	Mon Jan 18 17:45:22 2016 +0100
     1.3 @@ -51,15 +51,15 @@
     1.4  post_install()
     1.5  {
     1.6          # adduser fax if needed
     1.7 -	if ! grep -q fax $1/etc/passwd; then
     1.8 +	if ! grep -q fax "$1/etc/passwd"; then
     1.9  		echo -n "Adding user fax..."
    1.10 -		chroot $1/ adduser fax -D -H -S
    1.11 +		chroot "$1/" adduser fax -D -H -S
    1.12  		status
    1.13  	fi
    1.14 -	chroot $1/ chown fax /var/spool/fax
    1.15 +	chroot "$1/" chown fax /var/spool/fax
    1.16  }
    1.17  
    1.18  post_remove()
    1.19  {
    1.20 -	chroot $1/ deluser fax
    1.21 +	chroot "$1/" deluser fax
    1.22  }