wok-tiny diff module-ide/receipt @ rev 142

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 17:43:23 2019 +0100 (13 months ago)
parents fe3786524709
children
line diff
     1.1 --- a/module-ide/receipt	Wed Mar 09 21:30:10 2016 +0100
     1.2 +++ b/module-ide/receipt	Wed Feb 27 17:43:23 2019 +0100
     1.3 @@ -29,9 +29,7 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	cat >> $1/modules <<EOT
     1.8 -ide-core
     1.9 -ide-disk
    1.10 -ide-generic
    1.11 -EOT
    1.12 +	for i in ide-core ide-disk ide-generic ; do
    1.13 +		grep -qs ^$i$ $1/modules || echo $i >> $1/modules
    1.14 +	done
    1.15  }