From 552d5334355799a43432491eac8faa523f0ea1d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= Date: Sun, 14 Feb 2021 14:39:48 +0100 Subject: [PATCH] Try to fix path --- ly.spec.rpkg | 2 +- makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ly.spec.rpkg b/ly.spec.rpkg index f09b036..f73e5ba 100644 --- a/ly.spec.rpkg +++ b/ly.spec.rpkg @@ -45,7 +45,7 @@ chmod -x %{buildroot}/etc/ly/config.ini chmod -x %{buildroot}/etc/ly/lang/* %post -semodule -n -i %{_datadir}/selinux/packages/ly.pp +semodule -n -i /usr/share/selinux/packages/ly.pp if /usr/sbin/selinuxenabled ; then /usr/sbin/load_policy %relabel_files diff --git a/makefile b/makefile index ae52cb0..061b469 100644 --- a/makefile +++ b/makefile @@ -93,8 +93,8 @@ installnoconf: $(BIND)/$(NAME) @install -DZ $(RESD)/pam.d/ly -m 644 -t ${DESTDIR}/etc/pam.d installselinux: - echo "installing selinux modules" - make -f /usr/share/selinux/devel/Makefile ly.pp + @echo "installing selinux modules" + @make -f /usr/share/selinux/devel/Makefile ly.pp @install -DZ ly.pp ${DESTDIR}/usr/share/selinux/packages/ly.pp uninstall: