Package: set default theme to argon, pre-install luci-app-opkg for zh-cn

This commit is contained in:
John Doe
2021-08-28 00:21:06 +08:00
parent de3ca00f4a
commit f586806579
7 changed files with 15 additions and 0 deletions

View File

@@ -66,3 +66,6 @@ line_number_h6=`grep -m1 -n 'h6 {' $css_file | cut -d: -f1`
if [[ ! -z "$line_number_h6" ]]; then
sed -i $line_number_h6',+10 s/font-weight: normal/font-weight: bold/' $css_file
fi
#set default theme to argon
sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' `find package -type f -path '*/default-settings/files/zzz-default-settings'`