Hi, all.

This is the first time I am here.
I just create a patch for os-prober to identify MeeGo, I'm not debian
developer, if there is not the right place to submit patch, I'm sorry.


diff -Nuar os-prober/os-probes/mounted/common/90linux-distro 
os-prober.new//os-probes/mounted/common/90linux-distro
--- os-prober/os-probes/mounted/common/90linux-distro   2011-07-21 
13:57:54.429632440 +0800
+++ os-prober.new//os-probes/mounted/common/90linux-distro      2011-07-21 
14:14:23.785683057 +0800
@@ -118,6 +118,9 @@
        elif [ -e "$dir/etc/lfs-release" ]; then
                short="LFS"
                long="$(printf "Linux From Scratch (%s)\n" "$(cat 
"$dir/etc/lfs-release")")"
+       elif [ -e "$dir/etc/meego-release" ]; then
+               short="MeeGo"
+               long="$(head -1 "$dir/etc/meego-release")"
        else
                short="Linux"
                long="unknown Linux distribution"

Thanks,
Chengwei


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to