mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 01:32:11 +00:00
Remove usage of htmlq in xhtmlize.sh
Now I no longer need to include htmlq in my binaries.tar.gz
This commit is contained in:
parent
649f827f66
commit
0912a89ca9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ set -e -u
|
||||||
output_dir="$1"
|
output_dir="$1"
|
||||||
script_dir="$(dirname "$0")"
|
script_dir="$(dirname "$0")"
|
||||||
|
|
||||||
printf '<style>%s</style>\n' "$(htmlq -t style <"$output_dir/index.html")" >"$output_dir/tmp.css"
|
sed -e '7q;d' "$output_dir/index.html" | tr -d '\t' >"$output_dir/tmp.css"
|
||||||
cleanup() {
|
cleanup() {
|
||||||
rm -f "$output_dir/tmp.css"
|
rm -f "$output_dir/tmp.css"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue