summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am5
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec1
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c56e3d4d93..28e3b3311d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2209,6 +2209,11 @@ dist_libexec_SCRIPTS += \
src/settings/plugins/ifcfg-rh/nm-ifup \
src/settings/plugins/ifcfg-rh/nm-ifdown
+install-data-hook-ifcfg-rh:
+ $(mkinstalldirs) -m 0755 $(DESTDIR)$(sysconfdir)/sysconfig/network-scripts
+
+install_data_hook += install-data-hook-ifcfg-rh
+
endif
EXTRA_DIST += \
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index 36fe9dcaeb..4595a5f640 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -704,6 +704,7 @@ fi
%{_mandir}/man8/*
%dir %{_localstatedir}/lib/NetworkManager
%dir %{_sysconfdir}/NetworkManager/system-connections
+%dir %{_sysconfdir}/sysconfig/network-scripts
%{_datadir}/dbus-1/system-services/org.freedesktop.NetworkManager.service
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
%{_datadir}/polkit-1/actions/*.policy