diff options
-rwxr-xr-x | dh_runit | 4 | ||||
-rw-r--r-- | t/928935.t | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -62,8 +62,8 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) { | |||
62 | my $name = $conf->{name} || basename($path); | 62 | my $name = $conf->{name} || basename($path); |
63 | 63 | ||
64 | if ($conf->{noreplace}) { | 64 | if ($conf->{noreplace}) { |
65 | make_path("${tmp}/var/lib/runit/noreplace/"); | 65 | make_path("${tmp}/usr/share/runit/meta/${name}/"); |
66 | open(my $fh, ">", "${tmp}/var/lib/runit/noreplace/${name}") | 66 | open(my $fh, ">", "${tmp}/usr/share/runit/meta/${name}/noreplace") |
67 | || die $!; | 67 | || die $!; |
68 | close($fh); | 68 | close($fh); |
69 | } | 69 | } |
@@ -6,5 +6,5 @@ use T; | |||
6 | 6 | ||
7 | system_ok('dh_runit', 'debian/test.runscript', 'name=test,noreplace'); | 7 | system_ok('dh_runit', 'debian/test.runscript', 'name=test,noreplace'); |
8 | 8 | ||
9 | my $noreplace = 'debian/dh-runit-test/var/lib/runit/noreplace/test'; | 9 | my $noreplace = 'debian/dh-runit-test/usr/share/runit/meta/test/noreplace'; |
10 | ok(-f $noreplace, 'noreplace file correctly created'); | 10 | ok(-f $noreplace, 'noreplace file correctly created'); |