summaryrefslogtreecommitdiffstats
path: root/bin
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 /bin
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)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/draknfs2
1 files changed, 1 insertions, 1 deletions
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);
}