#!/bin/sh
 
# Exit on error
set -e
 
# Source debconf library.
. /usr/share/debconf/confmodule
 
# Ask questions
#db_set sceptresimusol/question1 false  || true

#CONSEGUIRLAS SOLITO

# repetido en postinstall-sceptresimusol
BUSCA="install-sceptresimusol ngp postinst-sceptresimusol pretest-sceptresimusol sceptre ngp_gnu sceptre1  compila-sceptresimusol"
BUSCALIB="lib*for.so* lib*for.so* sceptre2.o libsceptre.a  libsceptreaux.a"
#
# PONER lib*forsceptre !!!


SALIDA=`findbinlib "$BUSCA" "$BUSCALIB"`

if test x"$SALIDA" != x ; then
 db_fset  sceptresimusol/question1 seen false
 db_set  sceptresimusol/question1  false 
 db_subst sceptresimusol/question1 LISTA "$SALIDA"
 db_input critical sceptresimusol/question1
  
 # Show interface
 db_go || true
fi
