--- ddclient.orig 2012-10-16 09:50:53.000000000 -0400 +++ ddclient 2012-10-16 09:51:43.000000000 -0400 @@ -35,8 +35,8 @@ $program =~ s/d$//; my $now = time; my $hostname = hostname(); -my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/'; -my $cachedir = ($program =~ /test/i) ? './' : '/var/cache/ddclient/'; +my $etc = ($program =~ /test/i) ? './' : '@@PREFIX@@/etc/ddclient/'; +my $cachedir = ($program =~ /test/i) ? './' : '@@PREFIX@@/var/cache/ddclient/'; my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/'; my $msgs = ''; my $last_msgs = '';