mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01: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
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue