98-remove_unwanted_files 481 Bytes
Newer Older
1
2
#!/bin/sh

3
4
set -e

5
6
echo "Removing unwanted files"

7
8
9
# Get POTFILES_DOT_IN
. /usr/share/amnesia/build/variables

10
find /usr/share/doc -type f -name changelog.gz        -delete
11
find /usr/share/doc -type f -name changelog.Debian.gz -delete
12
find /usr/share/doc -type f -name NEWS.Debian.gz      -delete
13

14
15
# Remove .in files managed by intltool
rm $POTFILES_DOT_IN
16
17
18
19

# These files are not needed after the Tor Browser has been installed
# (by the 10-tbb hook)
rm /usr/share/tails/tbb-*.txt