mv content/static/datenspuren/fahrplanimport scripts/fahrplan-import.sh

This commit is contained in:
Astro 2011-09-23 00:29:22 +02:00
parent 58701aa959
commit 159cc77d44
2 changed files with 14 additions and 11 deletions

View File

@ -1,11 +0,0 @@
#!/bin/sh
mkdir .tmp
cd .tmp
curl https://cccv.pentabarf.org/DS2011.tar.gz | tar xz
rm DS2011/style.css
cp -r DS2011/* ../fahrplan/
cd ..
rm -r .tmp
git add fahrplan
git commit -m'fahrplan import [auto]'

14
scripts/fahrplan-import.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
# c3d2-web $ ./scripts/fahrplan-import.sh
mkdir .tmp
cd .tmp
curl https://cccv.pentabarf.org/DS2011.tar.gz | tar xz
rm DS2011/style.css
cp -r DS2011/* ../content/static/datenspuren/fahrplan/
cd ..
rm -r .tmp
git add content/static/datenspuren/fahrplan
git commit -m 'fahrplan import [auto]'