diff options
author | Colin Watson <cjwatson@debian.org> | 2005-01-04 12:37:56 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-01-04 12:37:56 +0000 |
commit | c44fe9a5b9d3db96a7249b04d915f17e4a3a3b04 (patch) | |
tree | 732dcec3c78e0f4a044676da7008c6f29ab33fc1 /debian/openssh-client.postrm | |
parent | 644a27682f0f6d7c252561941efb684ac5f6905c (diff) | |
parent | ebc4a8cca5c11a314af816af146fe70ed4c7598e (diff) |
Merge from branch-V_3_8_1_P1-4-client-server-split:
cvs up -jV_3_8_1_P1-8 -jbranch-V_3_8_1_P1-4-client-server-split
branch-V_3_8_1_P1-4-client-server-split is now closed. For further
development for sarge (Debian version 3.8.1p1-8.sarge.4, CVS tag
V_3_8_1_P1-8_sarge_4), use branch-V_3_8_1_P1-8_sarge_4-sarge.
Diffstat (limited to 'debian/openssh-client.postrm')
-rw-r--r-- | debian/openssh-client.postrm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/openssh-client.postrm b/debian/openssh-client.postrm new file mode 100644 index 000000000..139fb4d12 --- /dev/null +++ b/debian/openssh-client.postrm | |||
@@ -0,0 +1,20 @@ | |||
1 | #!/bin/sh -e | ||
2 | |||
3 | #DEBHELPER# | ||
4 | |||
5 | if [ "$1" = "purge" ] | ||
6 | then | ||
7 | # Remove all non-conffiles that ssh might create, so that we can | ||
8 | # smoothly remove /etc/ssh if and only if the user hasn't dropped some | ||
9 | # other files in there. Conffiles have already been removed at this | ||
10 | # point. | ||
11 | rm -f /etc/ssh/moduli /etc/ssh/primes | ||
12 | rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 | ||
13 | rmdir --ignore-fail-on-non-empty /etc/ssh | ||
14 | fi | ||
15 | |||
16 | if [ "$1" = "purge" ] ; then | ||
17 | delgroup --quiet ssh > /dev/null || true | ||
18 | fi | ||
19 | |||
20 | exit 0 | ||