chore: update script for gitea 1.21 frontend files [skip ci]

This commit is contained in:
surtur 2023-09-02 21:38:30 +02:00
parent 4bbe272884
commit fa05087417
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -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