blob: 11ba0a0b6700ecea112df385b54b57c16f238d93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
if [ "x${1}" = 'xremove' ]; then
if [ -f /usr/share/branding/www/SHA256SUMS ]; then
if [ -f /var/www/index.html ] && \
sha256sum -cs /usr/share/branding/www/SHA256SUMS
then
# /var/www/index.html exists and hasn't been modified by
# the user.
rm /var/www/index.html
fi
rm /usr/share/branding/www/SHA256SUMS
fi
fi
|