tazpkg rev 939
modules/install: be quiet on processing /etc/filesystems.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 04 05:21:26 2017 +0200 (2017-02-04) |
parents | 540af29a932c |
children | 9e271be1090b |
files | modules/install |
line diff
1.1 --- a/modules/install Fri Jan 27 12:27:00 2017 +0200 1.2 +++ b/modules/install Sat Feb 04 05:21:26 2017 +0200 1.3 @@ -572,7 +572,7 @@ 1.4 if [ -n "$ukrnlfs" ]; then 1.5 for i in $(awk -F/ '{if($6=="fs" && $8~$7)print $7}' "$fl" | sort -u); do 1.6 touch "$root/etc/filesystems" 1.7 - grep "^$i\$" "$root/etc/filesystems" || echo "$i" >> "$root/etc/filesystems" 1.8 + grep -q "^$i\$" "$root/etc/filesystems" || echo "$i" >> "$root/etc/filesystems" 1.9 done 1.10 fi 1.11 # packages 'busybox', 'kmod', 'depmod'