chore: update script for gitea 1.21 frontend files [skip ci]
This commit is contained in:
parent
4bbe272884
commit
fa05087417
@ -59,8 +59,8 @@ gitprepare(){
|
||||
}
|
||||
|
||||
patch_time(){
|
||||
echo -e " -- [+] \"patching\" fonts with \n \t\`sed -i 's/SFMono-Regular/Fira Code Retina\", \"SFMono-Regular/g' \"./web_src/less/_base.less\"\`"
|
||||
sed -i 's/SFMono-Regular/Fira Code Retina", "SFMono-Regular/g' "$gdir/web_src/less/_base.less"
|
||||
echo -e ' -- [+] "patching" fonts'
|
||||
sed -i 's/var(--fonts-monospace/Fira Code Retina, Fira Code Retina, var(--fonts-monospace/g' $gdir/web_src/css/*.css
|
||||
|
||||
readonly patchfiles="${$(bash -c "shopt -s nullglob dotglob; echo $patchdir/*.patch"):-}"
|
||||
if (( "${#patchfiles}" )); then
|
||||
|
Loading…
Reference in New Issue
Block a user