"Riyad Kalla" <[EMAIL PROTECTED]> writes:

> This is totally a shot in the dark ( I have no idea how that script is
> written ), but is there an extra ";" there? Can you just edit it and remove
> one and see what happens?

i am dumb stupid and idiot, sorry packages fix come in five minutes :

(chmou@kenobi)[initscripts/mandrake]-% cvs diff installkernel
Index: installkernel
===================================================================
RCS file: /home/cvs/cooker/soft/initscripts/mandrake/installkernel,v
retrieving revision 1.4
diff -u -r1.4 installkernel
--- installkernel       2000/05/30 10:29:46     1.4
+++ installkernel       2000/06/02 08:52:22
@@ -70,54 +70,6 @@
 
 function add_lilo_image () {
     grep -q "^image=/boot/vmlinuz-$kversion" /etc/lilo.conf && return
-       if echo $kversion|grep -q secure;then
-       # For secure truncate it to fit the 15 char limits
-       kversion=$(echo $kversion|
-boot=/boot
-kversion=$1
-bootimage=$2
-mapfile=$3
-r_device=$(rdev| sed 's| .*||')
-
-function add_on_top () {
-    line=$1
-    file=$2
-    tmp=/tmp/$(basename $file).$$
-    echo "$line" > $tmp
-    cat $file >> $tmp
-    if [ "$?" = "0" ];then
-       mv -f $tmp $file
-    else
-       return 1;
-    fi
-}
-
-function add_lilo_image () {
-    grep -q "^image=/boot/vmlinuz-$kversion" /etc/lilo.conf && return
-       if echo $kversion|grep -q secure;then
-       # For secure truncate it to fit the 15 char limits
-       kversion=$(echo $kversion|
-boot=/boot
-kversion=$1
-bootimage=$2
-mapfile=$3
-r_device=$(rdev| sed 's| .*||')
-
-function add_on_top () {
-    line=$1
-    file=$2
-    tmp=/tmp/$(basename $file).$$
-    echo "$line" > $tmp
-    cat $file >> $tmp
-    if [ "$?" = "0" ];then
-       mv -f $tmp $file
-    else
-       return 1;
-    fi
-}
-
-function add_lilo_image () {
-    grep -q "^image=/boot/vmlinuz-$kversion" /etc/lilo.conf && return
        kversion=$(echo $kversion|sed 's/\.//g')
        if echo $kversion|grep -q secure;then
            # For secure truncate it to fit the 15 char limits
(chmou@kenobi)[initscripts/mandrake]-% bash -n installkernel
(chmou@kenobi)[initscripts/mandrake]-% 


-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
In travel.                                        --Chmouel

Reply via email to