| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
. `dirname $0`/../common.sh
|
| 4 |
|
| 5 |
cd $webtopdir/webwml
|
| 6 |
|
| 7 |
umask 002
|
| 8 |
|
| 9 |
# remove .html files that have not corresponding .wml file and aren't in CVS
|
| 10 |
|
| 11 |
savelog -g debwww -m 664 $crondir/log/remove_stale.log >/dev/null
|
| 12 |
echo "Running remove_stale.pl... (at `date`)"
|
| 13 |
time ./remove_stale.pl -d > $crondir/log/remove_stale.log
|
| 14 |
|
| 15 |
# this script finds added and removed files and touches old ones so
|
| 16 |
# that the list of languages at the bottom is updated to include
|
| 17 |
# added files and omit removed files.
|
| 18 |
|
| 19 |
savelog -g debwww -m 664 $crondir/log/touch_files.log >/dev/null
|
| 20 |
echo "Running touch_files.pl... (at `date`)"
|
| 21 |
time ./touch_files.pl -d > $crondir/log/touch_files.log
|
| 22 |
|
| 23 |
echo
|