From 38de0d81748ed0add1f684949239fa0cb70f6f4b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 6 May 2015 12:47:10 +0200 Subject: [PATCH] cleanup --- builder-product.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/builder-product.cfg b/builder-product.cfg index 8fa6e2b..25bf824 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -17,10 +17,13 @@ TYPE="public" DL_FILE[0]="Defraggler_icon.png" DL_SOURCE[0]="http://upload.wikimedia.org/wikipedia/en/5/57/Defraggler_icon.png" +# replace points, split into array +a=( ${VERSION//./ } ) + #DL_FILE[1]="dfsetup-${VERSION}_slim.exe" #DL_SOURCE[1]="http://www.piriform.com/defraggler/download/slim/downloadfile" DL_FILE[1]="dfsetup-${VERSION}.exe" -DL_SOURCE[1]="http://download.piriform.com/dfsetup219.exe" +DL_SOURCE[1]="http://download.piriform.com/dfsetup${a[0]}${a[1]}.exe" DL_ARCH[1]="X86" DL_WINST_NAME[1]=InstallExe