History

ver_linux: don't print reiser4progs version if none found

Sam: did the same for reiserprogs

Alexey Dobriyan committed 21 years ago

Commit ea88df91 parent 09476401 file · +2 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/ver_linux+2−2
@@ -39,10 +39,10 @@ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ · 38 unmodified lines
3939 fsck.jfs -V 2>&1 | grep version | sed 's/,//' | awk \
4040 'NR==1 {print "jfsutils ", $3}'
4141
42−reiserfsck -V 2>&1 | grep reiserfsck | awk \
42+reiserfsck -V 2>&1 | grep ^reiserfsck | awk \
4343 'NR==1{print "reiserfsprogs ", $2}'
4444
45−fsck.reiser4 -V 2>&1 | grep fsck.reiser4 | awk \
45+fsck.reiser4 -V 2>&1 | grep ^fsck.reiser4 | awk \
4646 'NR==1{print "reiser4progs ", $2}'
4747
4848 xfs_db -V 2>&1 | grep version | awk \