mv content/static/datenspuren/fahrplanimport scripts/fahrplan-import.sh
This commit is contained in:
parent
58701aa959
commit
159cc77d44
|
@ -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
14
scripts/fahrplan-import.sh
Executable 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]'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user