[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623939: closed by Christian Perrier <bubulle@debian.org> (Bug#623939: fixed in os-prober 1.45)



There is a typo in a previous fix. New one should correct old one.
Attaching os-prober.diff

2011/4/24, Debian Bug Tracking System <owner@bugs.debian.org>:
> This is an automatic notification regarding your Bug report
> which was filed against the os-prober package:
>
> #623939: os-prober, add Linux From Scratch
>
> It has been closed by Christian Perrier <bubulle@debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Christian Perrier
> <bubulle@debian.org> by
> replying to this email.
>
>
> --
> 623939: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623939
> Debian Bug Tracking System
> Contact owner@bugs.debian.org with problems
>
--- os-prober-1.45-orig/os-probes/mounted/common/90linux-distro	2011-04-24 20:02:00.000000000 +0200
+++ os-prober-1.45/os-probes/mounted/common/90linux-distro	2011-04-25 00:06:40.984407134 +0200
@@ -115,14 +115,13 @@ if ls "$dir"/lib*/ld*.so* >/dev/null 2>/
 	elif [ -e "$dir/etc/kdemar-release" ]; then
 		short="K-DEMar"
 		long="$(printf "K-DEMar GNU/Linux (%s)\n" "$(cat "$dir/etc/kdemar-release")")"
-	if [ -e "$dir/etc/lfs-release" ]; then
+	elif [ -e "$dir/etc/lfs-release" ]; then
 		short="LFS"
 		long="$(printf "Linux From Scratch (%s)\n" "$(cat "$dir/etc/lfs-release")")"
 	else
 		short="Linux"
 		long="unknown Linux distribution"
 	fi
-	
         label="$(count_next_label "$short")"
 	result "$partition:$long:$label:linux"
 	exit 0

Reply to: