~ubuntu-branches/debian/experimental/sks/experimental

« back to all changes in this revision

Viewing changes to sks_build.sh

  • Committer: Package Import Robot
  • Author(s): Daniel Kahn Gillmor
  • Date: 2013-06-27 16:39:02 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130627163902-qqic4va2187boeji
Tags: 1.1.4-1
* New Upstream Release (Closes: #690135)
* added myself to Uploaders.
* convert to dh 9
* Standards-Version: bump to 3.9.4 (no changes needed)
* debian/rules: clean up
* refresh and clean up debian/patches
* switch packaging vcs to git
* avoid trying to upgrade DB_CONFIG (Closes: #709322)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# SKS build script.
4
4
# cd to directory with "dump" subdirectory, and run
5
 
# You might want to edit this file to reduce or increase memory usage 
 
5
# You might want to edit this file to reduce or increase memory usage
6
6
# depending on your system
7
7
 
 
8
trap ignore_signal USR1 USR2
 
9
 
 
10
ignore_signal() {
 
11
    echo "Caught user signal 1 or 2, ignoring"
 
12
}
 
13
 
8
14
ask_mode() {
9
15
    echo "Please select the mode in which you want to import the keydump:"
10
16
    echo ""
23
29
    read
24
30
    case "$REPLY" in
25
31
     1)
26
 
        mode="fastbuild"
 
32
        mode="fastbuild"
27
33
     ;;
28
34
     2)
29
 
        mode="build /var/lib/sks/dump/*.pgp"
 
35
        mode="build /var/lib/sks/dump/*.pgp"
30
36
     ;;
31
37
     *)
32
 
        echo "Option unknown. bye!"
33
 
        exit 1
 
38
        echo "Option unknown. bye!"
 
39
        exit 1
34
40
     ;;
35
41
    esac
36
42
}