mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-28 21:07:56 +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 -d $(DESTDIR)/etc/rc.d
|
||||||
install -m 755 rc.apparmor.$(subst install-,,$(@)) $(DESTDIR)/etc/rc.d/rc.apparmor
|
install -m 755 rc.apparmor.$(subst install-,,$(@)) $(DESTDIR)/etc/rc.d/rc.apparmor
|
||||||
|
|
||||||
|
.PHONY: install-debian
|
||||||
|
install-debian:
|
||||||
|
|
||||||
INSTALLDEPS=$(TOOLS)
|
INSTALLDEPS=$(TOOLS)
|
||||||
ifdef DISTRO
|
ifdef DISTRO
|
||||||
INSTALLDEPS+=install-$(DISTRO)
|
INSTALLDEPS+=install-$(DISTRO)
|
||||||
|
@ -137,6 +137,7 @@ parse_profiles() {
|
|||||||
for profile in $PROFILE_DIR/*; do
|
for profile in $PROFILE_DIR/*; do
|
||||||
if [ "${profile%.rpmnew}" != "${profile}" -o \
|
if [ "${profile%.rpmnew}" != "${profile}" -o \
|
||||||
"${profile%.rpmsave}" != "${profile}" -o \
|
"${profile%.rpmsave}" != "${profile}" -o \
|
||||||
|
"${profile%.dpkg-new}" != "${profile}" -o \
|
||||||
"${profile%\~}" != "${profile}" ]
|
"${profile%\~}" != "${profile}" ]
|
||||||
then
|
then
|
||||||
echo " Skipping profile $profile"
|
echo " Skipping profile $profile"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user