forked from indymedia/epicyon
Select purple theme in config
parent
18a3ab2a7d
commit
d66deb1a64
5
theme
5
theme
|
@ -30,7 +30,10 @@ fi
|
||||||
if [[ "$themeName" == 'purple'* ]]; then
|
if [[ "$themeName" == 'purple'* ]]; 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": "purple",|g' config.json
|
||||||
|
else
|
||||||
|
sed -i '/"admin"/a "theme": "purple",' config.json
|
||||||
|
sed -i 's|"theme"| "theme"|g' config.json
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cp epicyon-profile.css epicyon.css
|
cp epicyon-profile.css epicyon.css
|
||||||
|
|
Loading…
Reference in New Issue