~kelemeng/checkbox/bug868571

« back to all changes in this revision

Viewing changes to install/postinst

  • Committer: Marc Tardif
  • Date: 2008-08-13 20:04:12 UTC
  • Revision ID: marc.tardif@canonical.com-20080813200412-52u3d6fs6ulnxlgv
Renamed hwtest to checkbox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
package=`basename $0 .postinst`
2
 
config="/etc/hwtest.d/$package.ini"
 
2
config="/etc/checkbox.d/$package.ini"
3
3
 
4
4
case "$1" in
5
5
    configure)
12
12
 
13
13
        # Create a temporary file to generate the suggested
14
14
        # configuration file.
15
 
        tempfile=`tempfile -m 0644 -p hwtest`
 
15
        tempfile=`tempfile -m 0644 -p checkbox`
16
16
 
17
17
        # Update the temporary file with preseeded values.
18
 
        /usr/share/hwtest/install/config --output=$tempfile $package
 
18
        /usr/share/checkbox/install/config --output=$tempfile $package
19
19
 
20
20
        # Invoke ucf, which will take care of the rest, and ask
21
21
        # the user if he wants to update his file, if it is modified.