Masato Taruishi
taru****@users*****
2004年 10月 6日 (水) 21:50:13 JST
=================================================================== RCS file: projects/debconf/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- projects/debconf/Makefile.am 2004/10/06 10:06:00 1.1 +++ projects/debconf/Makefile.am 2004/10/06 12:50:13 1.2 @@ -10,7 +10,7 @@ #templatedir = $(sysconfdir)/ultrapossum/in.d #template_DATA = snmpd.conf.in -modulelocal_SCRIPTS = debconf.sh confarg dbdiff fetch apply +modulelocal_SCRIPTS = debconf.sh confarg dbdiff fetch apply reconfigure appsdir = @APPSDIR@ apps_DATA = debconf @@ -30,5 +30,8 @@ debconf.in \ debconf.sh \ confarg \ - dbdiff + dbdiff \ + fetch \ + apply \ + reconfigure =================================================================== RCS file: projects/debconf/fetch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- projects/debconf/fetch 2004/10/06 10:06:00 1.1 +++ projects/debconf/fetch 2004/10/06 12:50:13 1.2 @@ -28,6 +28,6 @@ trap "eval `ultrapossum-config term`" 0 progress "Copying debconf database ( $DEBCONF_NAME -> $DEBCONF_CONFIG )... " -debconf-copydb $DEBCONF_NAME "$DEBCONF_CONFIG" "$@" `$MODULEDIR/debconf/confarg` +debconf-copydb "$DEBCONF_NAME" "$DEBCONF_CONFIG" "$@" progress "Copying debconf database ( $DEBCONF_NAME -> $DEBCONF_CONFIG )... done" =================================================================== RCS file: projects/debconf/update-debconf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- projects/debconf/update-debconf 2004/10/06 10:06:00 1.1 +++ projects/debconf/update-debconf 2004/10/06 12:50:13 1.2 @@ -41,7 +41,10 @@ } sanity() { - : + if ! test -f "$DEBCONF_CONF"; then + "No $DEBCONF_CONF found" 1>&2 + exit 1 + fi } case "x$1" in