forked from indymedia/epicyon
Light theme icons
parent
b7ea51227a
commit
9881a8b333
7
theme
7
theme
|
@ -181,8 +181,11 @@ fi
|
||||||
if [[ "$themeName" == 'light'* ]]; then
|
if [[ "$themeName" == 'light'* ]]; then
|
||||||
if [ -f config.json ]; then
|
if [ -f config.json ]; then
|
||||||
if grep -q '"theme"' config.json; then
|
if grep -q '"theme"' config.json; then
|
||||||
sed -i '/"theme"/d' config.json
|
sed -i 's|"theme".*|"theme": "light",|g' config.json
|
||||||
fi
|
else
|
||||||
|
sed -i '/"admin"/a "theme": "light",' config.json
|
||||||
|
sed -i 's|"theme"| "theme"|g' config.json
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
cp epicyon-profile.css epicyon.css
|
cp epicyon-profile.css epicyon.css
|
||||||
filename=epicyon.css
|
filename=epicyon.css
|
||||||
|
|
Loading…
Reference in New Issue