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:
Jesse Michael 2007-03-30 16:09:50 +00:00
parent 3d84f865c9
commit bef39bbff8
2 changed files with 4 additions and 0 deletions

View file

@ -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)

View file

@ -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"