Mercurial > trustbridge
comparison packaging/linux-installer.inc @ 1273:5e0c338552b4
(issue150) Make -u work as an option
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 10:19:57 +0200 |
parents | 469c1a04b678 |
children | 34c92dbfee7e |
comparison
equal
deleted
inserted
replaced
1272:520d8e6f14a4 | 1273:5e0c338552b4 |
---|---|
72 | 72 |
73 parse_args() | 73 parse_args() |
74 { | 74 { |
75 OPTS=`getopt \ | 75 OPTS=`getopt \ |
76 -l uninstall,update,force,help,prefix:,system,version \ | 76 -l uninstall,update,force,help,prefix:,system,version \ |
77 -o d,f,p:,s -n "$ME" -- "$@"` | 77 -o u,f,p:,s -n "$ME" -- "$@"` |
78 [ $? -eq 0 ] || usage 23 | 78 [ $? -eq 0 ] || usage 23 |
79 | 79 |
80 eval set -- "$OPTS" | 80 eval set -- "$OPTS" |
81 | 81 |
82 while true ; do | 82 while true ; do |