less: Ignore .lesshst in sysupgrade backups

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
Philip Prindeville 2023-04-12 11:57:59 -06:00
parent 83bdecf057
commit 1286b69154
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=less
PKG_VERSION:=643
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:= @GNU/less \
@ -43,6 +43,8 @@ endef
define Package/less/install
$(INSTALL_DIR) $(1)/usr/libexec
$(CP) $(PKG_INSTALL_DIR)/usr/bin/less $(1)/usr/libexec/less-gnu
$(INSTALL_DIR) $(1)/lib/upgrade/ignore.d
$(INSTALL_DATA) ./files/less.ignore $(1)/lib/upgrade/ignore.d/less
endef
$(eval $(call BuildPackage,less))

View File

@ -0,0 +1 @@
\.lesshst