/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-keygen

  • Committer: Teddy Hogeborn
  • Date: 2008-09-07 01:20:43 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080907012043-w05a7qh6258eqh27
* Makefile: Clearly separate "local" install variable settings from
            "package" variable settings.
  (INITRAMFSTOOLS): New variable.
  (install-server): Use $(DESTDIR) to install init script and
                    /etc/default file.
  (install-client): Use $(INITRAMFSTOOLS).
  (uninstall-client): - '' -
  (purge-server): Use $(DESTDIR).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
KEYCOMMENT_ORIG="$KEYCOMMENT"
36
36
mode=keygen
37
37
 
38
 
if [ ! -d "$KEYDIR" ]; then
39
 
    KEYDIR="/etc/mandos/keys"
40
 
fi
41
 
 
42
38
# Parse options
43
39
TEMP=`getopt --options vhd:t:l:n:e:c:x:f \
44
40
    --longoptions version,help,password,dir:,type:,length:,subtype:,sublength:,name:,email:,comment:,expire:,force \