File: config

package info (click to toggle)
durep 0.9-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 176 kB
  • ctags: 33
  • sloc: perl: 647; makefile: 72; sh: 56
file content (22 lines) | stat: -rw-r--r-- 537 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

CONFFILE=/etc/default/durep-rolling
. /usr/share/debconf/confmodule

db_input low durep/makereports || touch $CONFFILE.no-debconf-changes
db_go

if test -r $CONFFILE && ! test -e $CONFFILE.no-debconf-changes ; then
   # oh, user is doing interactive setup and wants to see the latest list. Maybe.
   . $CONFFILE
   if test -n "$FILESYSTEMS" ; then
      db_set durep/filesystems "$FILESYSTEMS"
   fi
fi
   

db_get durep/makereports || true
if [ "$RET" = true ] ; then
   db_input low durep/filesystems || true
   db_go
fi