summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-08-05 15:36:45 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-08-05 15:36:45 +0200
commitb979a4a9bdfc7dce17dfcf6e3552f07ede5c372f (patch)
treeb6b76a978db7a0b067f8ccae17e0264e5cdfc15b /perl-install/any.pm
parent145b9db5a74ef4e201bcc97d9600a7069e5e3c2a (diff)
downloaddrakx-b979a4a9bdfc7dce17dfcf6e3552f07ede5c372f.tar
drakx-b979a4a9bdfc7dce17dfcf6e3552f07ede5c372f.tar.gz
drakx-b979a4a9bdfc7dce17dfcf6e3552f07ede5c372f.tar.bz2
drakx-b979a4a9bdfc7dce17dfcf6e3552f07ede5c372f.tar.xz
drakx-b979a4a9bdfc7dce17dfcf6e3552f07ede5c372f.zip
fix checking package is installed (mga#13353)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index d25ac5ab8..17d931c7c 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1418,7 +1418,7 @@ Allowing this will permit users to simply click on \"Share\" in konqueror and na
}
foreach (keys %types) {
my ($pkg, $service, $_descr) = @{$types{$_}};
- my $file = "/etc/init.d/$service";
+ my $file = "/usr/lib/systemd/system/${service}.service";
if ($l{$_}) {
$in->do_pkgs->ensure_is_installed($pkg, $file) or return;
services::start($service);