From 5ee32bf478474145101f6c5e975e1caf0ecaced7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 18 Nov 2013 21:06:34 +0100 Subject: [PATCH] Fix uri template --- root/etc/e-smith/templates/etc/dl.php/10Url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/dl.php/10Url b/root/etc/e-smith/templates/etc/dl.php/10Url index 64b64d2..5238cea 100644 --- a/root/etc/e-smith/templates/etc/dl.php/10Url +++ b/root/etc/e-smith/templates/etc/dl.php/10Url @@ -1,6 +1,6 @@ { my $uri = $dl{'Uri'} || "https://$SystemName.$DomainName/dl"; -$uri .= '/' if ($uri !~ !/$!); +$uri .= '/' if ($uri !~ /\/$/); $OUT .= "\$masterPath = '$uri';"; }