root / debian / ganeti-2.10.prerm @ aa68cea6
History | View | Annotate | Download (582 Bytes)
1 |
#!/bin/sh |
---|---|
2 |
|
3 |
set -e |
4 |
|
5 |
if [ "$1" = "remove" ]; then |
6 |
. /usr/share/debconf/confmodule |
7 |
|
8 |
if [ /usr/lib/ganeti/default -ef /usr/lib/ganeti/2.10 ]; then |
9 |
db_version 2.0 |
10 |
db_fset ganeti-2.10/abort-removal seen false |
11 |
db_subst ganeti-2.10/abort-removal version 2.10 |
12 |
db_subst ganeti-2.10/abort-removal package ganeti-2.10 |
13 |
db_input critical ganeti-2.10/abort-removal |
14 |
db_go |
15 |
db_get ganeti-2.10/abort-removal |
16 |
|
17 |
if [ "$RET" = "true" ]; then |
18 |
echo "Aborting removal on user request" |
19 |
exit 1; |
20 |
fi |
21 |
fi |
22 |
fi |
23 |
|
24 |
#DEBHELPER# |