25e01f4f43c698b914c1a292887ae1d16c739a9d
[grml-live.git] / etc / grml / fai / config / scripts / GRML_SMALL / 98-clean-chroot
1 #!/bin/bash
2 # Filename:      ${GRML_FAI_CONFIG}/config/scripts/GRML_SMALL/98-clean-chroot
3 # Purpose:       clean up Grml chroot on grml-small
4 # Authors:       (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 ################################################################################
8
9 set -e
10 set -u
11
12 echo "Removing /usr/share/ssh/blacklist.*"
13 rm -f $target/usr/share/ssh/blacklist.DSA-1024 $target/usr/share/ssh/blacklist.RSA-2048
14
15 echo "Cleaning documentation directories"
16 if [ -d $target/usr/share/doc/grml-docs ] ; then
17   mv $target/usr/share/doc/grml-docs $target/tmp/
18 fi
19
20 set -x
21 ## END OF FILE #################################################################
22 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2