wok-tiny diff base-tiny/receipt @ rev 9

base-tiny: filter textarea by dos2unix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 11:50:01 2011 +0100 (2011-02-02)
parents 78eec5d0bbfd
children 4ba2d11dfa87
line diff
     1.1 --- a/base-tiny/receipt	Tue Feb 01 23:09:54 2011 +0100
     1.2 +++ b/base-tiny/receipt	Wed Feb 02 11:50:01 2011 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="base-tiny"
     1.6  VERSION="1.0"
     1.7 -CATEGORY="tiny-slitaz"
     1.8 +CATEGORY="configuration"
     1.9  SHORT_DESC="Tiny SliTaz base configuration files"
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  WEB_SITE="http://mirror.slitaz.org/pizza/tiny/"
    1.12 @@ -124,10 +124,10 @@
    1.13  grep -qs ^root:: /etc/passwd /etc/shadow && passwd
    1.14  EOT
    1.15  	fi
    1.16 -	[ -n "$FSTAB" ] && cat >> $1/etc/fstab <<EOT
    1.17 +	[ -n "$FSTAB" ] && dos2unix >> $1/etc/fstab <<EOT
    1.18  $FSTAB
    1.19  EOT
    1.20 -	[ -n "$RC_LOCAL" ] && cat >> $1/etc/init.d/local.sh <<EOT
    1.21 +	[ -n "$RC_LOCAL" ] && dos2unix >> $1/etc/init.d/local.sh <<EOT
    1.22  $RC_LOCAL
    1.23  EOT
    1.24  }