Select purple theme in config

This commit is contained in:
bashrc committed 2019-09-11 23:13:01 +01:00
1 parent 18a3ab2a7d
commit d66deb1a64
1 file changed
+5 -2
+5 -2
View File
@@ -30,8 +30,11 @@ fi
if [[ "$themeName" == 'purple'* ]]; then
if [ -f config.json ]; then
if grep -q '"theme"' config.json; then
sed -i '/"theme"/d' config.json
fi
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
cp epicyon-profile.css epicyon.css
filename=epicyon.css