Run TypeScript compilation in Joplin Server scripts

Added 'yarn run tsc' to both update and install scripts for Joplin Server to ensure TypeScript sources are compiled. Also removed an unused variable from build.func for code cleanup.
This commit is contained in:
CanbiZ (MickLesk)
2026-01-21 13:07:20 +01:00
parent fe2384a2fa
commit 7395a44277
3 changed files with 2 additions and 1 deletions

View File

@@ -4508,7 +4508,6 @@ create_lxc_container() {
fi
ONLINE_TEMPLATES=()
ONLINE_TEMPLATE=""
mapfile -t ONLINE_TEMPLATES < <(pveam available -section system 2>/dev/null | grep -E '\.(tar\.zst|tar\.xz|tar\.gz)$' | awk '{print $2}' | grep -E "^${TEMPLATE_SEARCH}.*${TEMPLATE_PATTERN}" | sort -t - -k 2 -V 2>/dev/null || true)
[[ ${#ONLINE_TEMPLATES[@]} -gt 0 ]] && ONLINE_TEMPLATE="${ONLINE_TEMPLATES[-1]}"