From e6de6568055edd7641e46b939b60aeaf804d2ea0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 17 Mar 2022 13:38:33 +0100 Subject: [PATCH] common: add PVE::RS::CalendarEvent for compat This simply uses the new one as a base in order to help getting the packages setup initially. Signed-off-by: Wolfgang Bumiller --- common/pkg/Makefile | 6 ++++-- common/pkg/PVE/RS/CalendarEvent.pm | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 common/pkg/PVE/RS/CalendarEvent.pm diff --git a/common/pkg/Makefile b/common/pkg/Makefile index d5a737c..be795c7 100644 --- a/common/pkg/Makefile +++ b/common/pkg/Makefile @@ -13,10 +13,12 @@ DEB=${PACKAGE}_${DEB_VERSION}_${ARCH}.deb DESTDIR= PM_DIRS := \ + PVE/RS \ Proxmox/Lib \ Proxmox/RS PM_FILES := \ + PVE/RS/CalendarEvent.pm \ Proxmox/Lib/Common.pm \ Proxmox/RS/CalendarEvent.pm @@ -26,10 +28,10 @@ all: .PHONY: install install: install -d -m755 $(DESTDIR)$(PERL_INSTALLVENDORLIB) - for i in $(PM_DIRS); do \ + set -e && for i in $(PM_DIRS); do \ install -d -m755 $(DESTDIR)$(PERL_INSTALLVENDORLIB)/$$i; \ done - for i in $(PM_FILES); do \ + set -e && for i in $(PM_FILES); do \ install -m644 $$i $(DESTDIR)$(PERL_INSTALLVENDORLIB)/$$i; \ done diff --git a/common/pkg/PVE/RS/CalendarEvent.pm b/common/pkg/PVE/RS/CalendarEvent.pm new file mode 100644 index 0000000..3a5f66e --- /dev/null +++ b/common/pkg/PVE/RS/CalendarEvent.pm @@ -0,0 +1,3 @@ +use base 'Proxmox::RS::CalendarEvent'; +# Compat, Deprecated! +1