View | Details | Raw Unified | Return to bug 7924
Collapse All | Expand All

(-)a/debian/scripts/koha-remove (-4 / +3 lines)
Lines 20-36 Link Here
20
set -e
20
set -e
21
21
22
args=$(getopt -l keep-mysql -o k -n $0 -- "$@")
22
args=$(getopt -l keep-mysql -o k -n $0 -- "$@")
23
set -- $args
23
eval set -- $args
24
while [ ! -z "$1" ]
24
while [ ! -z "$1" ]
25
do
25
do
26
    case "$1" in
26
    case "$1" in
27
         -k|--keep-mysql) keepmysql=1; exit;;
27
         -k|--keep-mysql) keepmysql=1; shift;;
28
         --) shift; break;;
28
          *) break;;
29
          *) break;;
29
    esac
30
    esac
30
    shift
31
    shift
31
done
32
done
32
33
33
34
for name in "$@"
34
for name in "$@"
35
do
35
do
36
    echo "Removing Koha instance $name"
36
    echo "Removing Koha instance $name"
37
- 

Return to bug 7924