Changed theme changing script.
This commit is contained in:
parent
dd051a8314
commit
ccb9af1da9
|
@ -1,6 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pushd /home/tastytea/blog/themes
|
if [ "$(basename ${PWD})" != "themes" ]; then
|
||||||
|
echo "cd to theme directory, please." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p tastytea/static/assets
|
||||||
|
|
||||||
for file in style.css style-compat.css; do
|
for file in style.css style-compat.css; do
|
||||||
cp slick/static/assets/${file} tastytea/static/assets/${file}
|
cp slick/static/assets/${file} tastytea/static/assets/${file}
|
||||||
|
|
||||||
|
@ -32,4 +38,3 @@ for file in style.css style-compat.css; do
|
||||||
|
|
||||||
sed -i 's/#000/#e2e0de/g' tastytea/static/assets/${file} # Some links
|
sed -i 's/#000/#e2e0de/g' tastytea/static/assets/${file} # Some links
|
||||||
done
|
done
|
||||||
popd
|
|
||||||
|
|
Loading…
Reference in New Issue