~ubuntu-branches/ubuntu/raring/postfix/raring

« back to all changes in this revision

Viewing changes to postfix-install

Tags: upstream-2.2.6
ImportĀ upstreamĀ versionĀ 2.2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
 
169
169
USAGE="Usage: $0 [name=value] [option]
170
170
    -non-interactive        Do not ask for installation parameters.
 
171
    -package                Build a ready-to-install package.
171
172
    name=value              Specify an installation parameter".
172
173
 
173
174
# Process command-line options and parameter settings. Work around
179
180
    case $arg in
180
181
      *=*) IFS= eval $arg; IFS="$BACKUP_IFS";;
181
182
-non-int*) non_interactive=1;;
 
183
 -package) need_install_root=install_root;;
182
184
        *) echo "$0: Error: $USAGE" 1>&2; exit 1;;
183
185
    esac
184
186
    shift
380
382
/) install_root=
381
383
esac
382
384
 
 
385
test -z "$need_install_root" || test -n "$install_root" || {
 
386
    echo $0: Error: invalid package root directory: \"install_root=/\" 1>&2
 
387
    exit 1
 
388
}
 
389
 
383
390
CONFIG_DIRECTORY=$install_root$config_directory
384
391
 
385
392
# If a parameter is not set via the command line or environment,