make log truncation the default

This commit is contained in:
Ron Pedde
2006-06-16 06:06:15 +00:00
parent cf9281f1e4
commit 11283fd0da
2 changed files with 17 additions and 12 deletions

View File

@@ -225,6 +225,16 @@ HasConf:
ext_skip:
; Check for truncate
ReadINIStr $0 "$2\mt-daapd.conf" "general" "truncate"
StrCmp $0 "" trunc_set trunc_skip
trunc_set:
WriteINIStr "$2\mt-daapd.conf" "general" "truncate" "1"
trunc_skip:
SetAutoClose False
SectionEnd