| 1 |
joy |
1.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 |
joy |
1.4 |
savelog -g debwww -m 664 $crondir/log/remove_stale.log >/dev/null |
| 12 |
joy |
1.3 |
echo "Running remove_stale.pl... (at `date`)" |
| 13 |
joy |
1.4 |
time ./remove_stale.pl -d > $crondir/log/remove_stale.log |
| 14 |
joy |
1.1 |
|
| 15 |
kraai |
1.2 |
# 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 |
joy |
1.1 |
|
| 19 |
joy |
1.4 |
savelog -g debwww -m 664 $crondir/log/touch_files.log >/dev/null |
| 20 |
joy |
1.3 |
echo "Running touch_files.pl... (at `date`)" |
| 21 |
|
|
time ./touch_files.pl -d > $crondir/log/touch_files.log |
| 22 |
joy |
1.1 |
|
| 23 |
|
|
echo |