mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
Add an empty install-debian: target to keep the makefile from blowing up
when running on Debian/Ubuntu systems and also make the init script skip *.dpkg-new files when loading profiles.
This commit is contained in:
parent
3d84f865c9
commit
bef39bbff8
@ -214,6 +214,9 @@ install-slackware:
|
||||
install -m 755 -d $(DESTDIR)/etc/rc.d
|
||||
install -m 755 rc.apparmor.$(subst install-,,$(@)) $(DESTDIR)/etc/rc.d/rc.apparmor
|
||||
|
||||
.PHONY: install-debian
|
||||
install-debian:
|
||||
|
||||
INSTALLDEPS=$(TOOLS)
|
||||
ifdef DISTRO
|
||||
INSTALLDEPS+=install-$(DISTRO)
|
||||
|
@ -137,6 +137,7 @@ parse_profiles() {
|
||||
for profile in $PROFILE_DIR/*; do
|
||||
if [ "${profile%.rpmnew}" != "${profile}" -o \
|
||||
"${profile%.rpmsave}" != "${profile}" -o \
|
||||
"${profile%.dpkg-new}" != "${profile}" -o \
|
||||
"${profile%\~}" != "${profile}" ]
|
||||
then
|
||||
echo " Skipping profile $profile"
|
||||
|
Loading…
x
Reference in New Issue
Block a user