|
Last change
on this file since 2775 was 2775, checked in by Александър Шопов, 13 years ago |
|
Скриптове ползвани преди за резервни копия и статиите
|
-
Property svn:executable
set to
*
|
|
File size:
635 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 2 | ARTICLEDIR=/home/ash/public_html/articles
|
|---|
| 3 | DATE=`date +%Y%m%d`
|
|---|
| 4 | MAILFAIL=dict-notifications@fsa-bg.org
|
|---|
| 5 |
|
|---|
| 6 | cd /home/ash/non-gtk
|
|---|
| 7 | svn up
|
|---|
| 8 | for i in \
|
|---|
| 9 | /home/ash/non-gtk/dwheeler/why-opendocument-won-bg.xml \
|
|---|
| 10 | /home/ash/non-gtk/gpl-license/pj.xml \
|
|---|
| 11 | /home/ash/non-gtk/emoglen/anarchism.bg.xml \
|
|---|
| 12 | /home/ash/non-gtk/oo-squares/oo-sqaures.xml
|
|---|
| 13 | do
|
|---|
| 14 | xmlto html-nochunks $i -o $ARTICLEDIR
|
|---|
| 15 | if [ "x$?" != "x0" ]
|
|---|
| 16 | then mail -s "$DATE: Problem with article generation" $MAILFAIL <<EOF
|
|---|
| 17 | ===================
|
|---|
| 18 | On $DATE
|
|---|
| 19 | There was problem with generation of article from
|
|---|
| 20 | $i
|
|---|
| 21 | Please check and fix things!
|
|---|
| 22 | ===================
|
|---|
| 23 | EOF
|
|---|
| 24 | fi
|
|---|
| 25 | done
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.