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

Problème avec debconf sou potato



Salut,

J'aéi un petit problème de scripts debconf qui marche avec sid mais pas
avec potato.

Le message d'erreur en potato est :

Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 118, <GEN0> chunk 1.

Si quelqu'un à une idée ?

Christian

*******************config**********************
#!/bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule

db_fget gogo/processor i486

db_input medium gogo/processor || true
db_go
***********************************************

*****************postinst**********************
#!/bin/sh -e

. /usr/share/debconf/confmodule

db_get gogo/processor || true

if [ $RET = "i486" ]; then
  if [ -h /usr/bin/gogo ]; then
    rm /usr/bin/gogo
  fi
  ln -s /usr/bin/gogo.i486 /usr/bin/gogo
fi

if [ $RET = "i686" ]; then
  if [ -h /usr/bin/gogo ]; then
    rm /usr/bin/gogo
  fi
  ln -s /usr/bin/gogo.i686 /usr/bin/gogo
fi

if [ $RET = "k6" ]; then
  if [ -h /usr/bin/gogo ]; then
    rm /usr/bin/gogo
  fi
  ln -s /usr/bin/gogo.k6 /usr/bin/gogo
fi

#DEBHELPER#
***********************************************



Reply to: