From f3b60b7137d577f1bc55112b81c85cc01adc8267 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Tue, 30 Sep 2025 21:04:29 +1000 Subject: [PATCH] fix: update path for scripts --- rpms/cni-plugins/resources/nfpm.yaml | 2 +- rpms/consul-cni/resources/nfpm.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpms/cni-plugins/resources/nfpm.yaml b/rpms/cni-plugins/resources/nfpm.yaml index e1c9870..6b58b09 100644 --- a/rpms/cni-plugins/resources/nfpm.yaml +++ b/rpms/cni-plugins/resources/nfpm.yaml @@ -131,7 +131,7 @@ contents: # Scripts to run during installation/removal (optional) scripts: - preinstall: ./scripts/preinstall.sh + preinstall: /app/resources/scripts/preinstall.sh # postinstall: ./scripts/postinstall.sh # preremove: ./scripts/preremove.sh # postremove: ./scripts/postremove.sh diff --git a/rpms/consul-cni/resources/nfpm.yaml b/rpms/consul-cni/resources/nfpm.yaml index f07979b..00ba7fe 100644 --- a/rpms/consul-cni/resources/nfpm.yaml +++ b/rpms/consul-cni/resources/nfpm.yaml @@ -28,7 +28,7 @@ contents: # Scripts to run during installation/removal (optional) scripts: - preinstall: ./scripts/preinstall.sh + preinstall: /app/resources/scripts/preinstall.sh # postinstall: ./scripts/postinstall.sh # preremove: ./scripts/preremove.sh # postremove: ./scripts/postremove.sh -- 2.47.3