author | Paul Crowley <paul@lshift.net> |
Wed, 02 Dec 2009 18:29:26 +0000 | |
branch | debian |
changeset 233 | 60c2d676a754 |
parent 224 | caf9cb61f856 |
child 314 | c02eae7665af |
permissions | -rw-r--r-- |
224
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
1 |
#!/bin/sh |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
2 |
|
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
3 |
set -e |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
4 |
|
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
5 |
# Load debconf |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
6 |
. /usr/share/debconf/confmodule |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
7 |
|
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
8 |
db_input medium mercurial-server/purge_repositories || true |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
9 |
|
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
10 |
db_go || true |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
11 |
|
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
12 |
exit 0 |
caf9cb61f856
Purge repositories if debconf says so.
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
13 |