From 102ec071470c211bf1727d30d83b863c87c6d906 Mon Sep 17 00:00:00 2001 From: Bruno Victal Date: Mon, 6 Feb 2023 15:21:36 +0000 Subject: [PATCH] Do not use @localstatedir@ for $cachedir. @localstatedir@ is usually /usr/local/var which unless explicitly overriden, will depend on @prefix@. --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 60967b8..f9cf19a 100755 --- a/ddclient.in +++ b/ddclient.in @@ -49,7 +49,7 @@ sub subst_var { } my $etc = subst_var('@sysconfdir@', '/etc/ddclient'); -my $cachedir = subst_var('@localstatedir@', '/var') . '/cache/ddclient'; +my $cachedir = '/var/cache/ddclient'; my $savedir = '/tmp'; if ($program =~ /test/i) { $etc = '.';