Message ID | 1458320955-2556-4-git-send-email-ian.jackson@eu.citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/mg-debian-installer-update b/mg-debian-installer-update index 7e3fb20..c969f1e 100755 --- a/mg-debian-installer-update +++ b/mg-debian-installer-update @@ -59,7 +59,7 @@ case ${suite}_${arch} in ;; esac -tftpdiversion=`getconfig TftpDiVersion` +tftpdiversion=`getconfig_TftpDiVersion_suite $suite` dstroot=`getconfig TftpPath`/`getconfig TftpDiBase`/ date=`date +%Y-%m-%d` dst=$arch/$date-$suite
The computed value of the `tftpdiversion' shell variable is used only to see if it is equal to `current'; if so, we update it. Whether this is done should depend on the effective TftpDiVersion for the specific suite, not on the default global. So use getconfig_TftpDiVersion_suite. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> --- mg-debian-installer-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)