summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2012-10-11 22:33:02 +0000
committerNicolas Lécureuil <neoclust@mageia.org>2012-10-11 22:33:02 +0000
commit20ebecfbe3df5e4c004fa2be049e94283c98b823 (patch)
treeb512a07c39d0025fdd2cf65c33d1d9884c0e84d2
parenteedf01e68be90b7dbaaa9558b919725e600ed0b0 (diff)
downloaddrakx-net-20ebecfbe3df5e4c004fa2be049e94283c98b823.tar
drakx-net-20ebecfbe3df5e4c004fa2be049e94283c98b823.tar.gz
drakx-net-20ebecfbe3df5e4c004fa2be049e94283c98b823.tar.bz2
drakx-net-20ebecfbe3df5e4c004fa2be049e94283c98b823.tar.xz
drakx-net-20ebecfbe3df5e4c004fa2be049e94283c98b823.zip
fix nfs-utils detection now that we use only systemd (mga#7654)
-rw-r--r--NEWS1
-rwxr-xr-xbin/draknfs2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c7801d8..79b4b39 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix nds-utils detection now that we use only systemd (mga#7654)
- fix device path for "cdc_acm" (mga#3841)
1.15.1:
diff --git a/bin/draknfs b/bin/draknfs
index fd4d406..015ca80 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -33,7 +33,7 @@ use mygtk2 qw(gtknew gtkset);
use ugtk2 qw(:ask :wrappers :create :dialogs);
my $in = 'interactive'->vnew('su');
-$in->do_pkgs->ensure_is_installed('nfs-utils', '/etc/rc.d/init.d/nfs-server') or exit(1);
+$in->do_pkgs->ensure_is_installed('nfs-utils', '/usr/lib/systemd/system/nfs-server.service') or exit(1);
if (!$in->do_pkgs->is_installed("portmap")) {
$in->do_pkgs->ensure_is_installed('rpcbind') or exit(1);
}