summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/any.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 8b2f6f881..82685b88e 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- filesharelist:
+ o fix checking package is installed (mga#13353)
+
Version 17.53 - 31 July 2016
- diskdrake:
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);