From 07a75008a11ad73488942f1fe7912a96310fb800 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 7 Mar 2026 12:28:20 +1100 Subject: [PATCH] fix: precommit fix all - run pre-commit against all files - preparation for running pre-commit in ci --- Dockerfile | 2 +- rpms/boilerplate/resources/build.sh | 2 +- rpms/cni-plugins/resources/build.sh | 2 +- rpms/consul-cni/resources/build.sh | 2 +- rpms/consul/resources/build.sh | 2 +- rpms/etcd/resources/build.sh | 2 +- rpms/g10k/resources/build.sh | 2 +- rpms/helmfile/resources/build.sh | 2 +- rpms/jellyfin-ffmpeg-bin/resources/build.sh | 2 +- rpms/jellyfin-server/resources/build.sh | 2 +- rpms/jellyfin-web/resources/build.sh | 2 +- rpms/jsonnet-language-server/resources/build.sh | 2 +- rpms/jsonnet-lint/resources/build.sh | 2 +- rpms/jsonnet/resources/build.sh | 2 +- rpms/kubeconform/resources/build.sh | 2 +- rpms/libfoundationdb/resources/build.sh | 2 +- rpms/libfoundationdb/resources/scripts/postinstall.sh | 2 +- rpms/nfpm/resources/build.sh | 2 +- rpms/nomad-autoscaler/resources/build.sh | 2 +- rpms/nomad/resources/build.sh | 2 +- rpms/nzbget/resources/build.sh | 2 +- rpms/openbao-plugin-secret-consul/resources/build.sh | 2 +- .../resources/scripts/preinstall.sh | 2 +- rpms/openbao-plugin-secret-nomad/resources/build.sh | 2 +- .../openbao-plugin-secret-nomad/resources/scripts/preinstall.sh | 2 +- rpms/openbao-plugins/resources/build.sh | 2 +- rpms/packer/resources/build.sh | 2 +- rpms/ruff/resources/build.sh | 2 +- rpms/stalwart-cli/resources/build.sh | 2 +- rpms/stalwart-foundationdb/resources/build.sh | 2 +- rpms/stalwart-foundationdb/resources/scripts/postremove.sh | 2 +- rpms/stalwart-foundationdb/resources/scripts/preinstall.sh | 2 +- rpms/stalwart-foundationdb/resources/scripts/preremove.sh | 2 +- .../resources/stalwart-foundationdb.service | 2 +- rpms/stalwart/resources/build.sh | 2 +- rpms/stalwart/resources/scripts/postremove.sh | 2 +- rpms/stalwart/resources/scripts/preinstall.sh | 2 +- rpms/stalwart/resources/scripts/preremove.sh | 2 +- rpms/stalwart/resources/stalwart.service | 2 +- rpms/terraform/resources/build.sh | 2 +- rpms/terragrunt/resources/build.sh | 2 +- rpms/tflint/resources/build.sh | 2 +- rpms/unkin-ca-certificates/resources/build.sh | 2 +- rpms/uv/resources/build.sh | 2 +- rpms/vals/resources/build.sh | 2 +- rpms/vault/resources/build.sh | 2 +- rpms/victoria-logs/resources/build.sh | 2 +- rpms/vlutils/resources/build.sh | 2 +- rpms/vmutils/resources/build.sh | 2 +- rpms/xh/resources/build.sh | 2 +- tools/update-gh | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Dockerfile b/Dockerfile index 47d0867..c064ab4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,4 +31,4 @@ ENV PACKAGE_PLATFORM=${PACKAGE_PLATFORM} COPY resources /app/resources # Default command to build RPMs -CMD /app/resources/build.sh \ No newline at end of file +CMD /app/resources/build.sh diff --git a/rpms/boilerplate/resources/build.sh b/rpms/boilerplate/resources/build.sh index 293b49a..7795163 100755 --- a/rpms/boilerplate/resources/build.sh +++ b/rpms/boilerplate/resources/build.sh @@ -8,4 +8,4 @@ wget -O /app/boilerplate https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/cni-plugins/resources/build.sh b/rpms/cni-plugins/resources/build.sh index 1b1608e..12b781b 100755 --- a/rpms/cni-plugins/resources/build.sh +++ b/rpms/cni-plugins/resources/build.sh @@ -9,4 +9,4 @@ tar xf cni-plugins-linux-amd64.tgz envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/consul-cni/resources/build.sh b/rpms/consul-cni/resources/build.sh index a5f358e..b18fb92 100755 --- a/rpms/consul-cni/resources/build.sh +++ b/rpms/consul-cni/resources/build.sh @@ -12,4 +12,4 @@ unzip consul-cni.zip # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/consul/resources/build.sh b/rpms/consul/resources/build.sh index 9db6806..b5a62b0 100755 --- a/rpms/consul/resources/build.sh +++ b/rpms/consul/resources/build.sh @@ -13,4 +13,4 @@ unzip consul.zip envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/etcd/resources/build.sh b/rpms/etcd/resources/build.sh index 7575c48..2fbcf9b 100755 --- a/rpms/etcd/resources/build.sh +++ b/rpms/etcd/resources/build.sh @@ -10,4 +10,4 @@ mv /app/etcd-v${PACKAGE_VERSION}-linux-amd64/* /app/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/g10k/resources/build.sh b/rpms/g10k/resources/build.sh index 93f27d5..78d35f4 100755 --- a/rpms/g10k/resources/build.sh +++ b/rpms/g10k/resources/build.sh @@ -11,4 +11,4 @@ popd envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/helmfile/resources/build.sh b/rpms/helmfile/resources/build.sh index 882dddf..d0be333 100755 --- a/rpms/helmfile/resources/build.sh +++ b/rpms/helmfile/resources/build.sh @@ -15,4 +15,4 @@ chmod +x /app/helmfile # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/jellyfin-ffmpeg-bin/resources/build.sh b/rpms/jellyfin-ffmpeg-bin/resources/build.sh index 603869d..2368f57 100755 --- a/rpms/jellyfin-ffmpeg-bin/resources/build.sh +++ b/rpms/jellyfin-ffmpeg-bin/resources/build.sh @@ -14,4 +14,4 @@ rpmbuild -ba /root/rpmbuild/SPECS/jellyfin-ffmpeg-bin.spec # Copy the built RPMs to output directory cp /root/rpmbuild/RPMS/x86_64/jellyfin-ffmpeg-bin-*.rpm /app/dist/ -cp /root/rpmbuild/SRPMS/jellyfin-ffmpeg-bin-*.rpm /app/dist \ No newline at end of file +cp /root/rpmbuild/SRPMS/jellyfin-ffmpeg-bin-*.rpm /app/dist diff --git a/rpms/jellyfin-server/resources/build.sh b/rpms/jellyfin-server/resources/build.sh index 78c4fc4..c2c9a6f 100755 --- a/rpms/jellyfin-server/resources/build.sh +++ b/rpms/jellyfin-server/resources/build.sh @@ -18,4 +18,4 @@ rpmbuild -ba /app/resources/jellyfin-server_${PACKAGE_VERSION}.spec # Copy the built RPMs to output directory cp /root/rpmbuild/RPMS/x86_64/jellyfin-server-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm /app/dist/ -cp /root/rpmbuild/SRPMS/jellyfin-server-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.src.rpm /app/dist/ \ No newline at end of file +cp /root/rpmbuild/SRPMS/jellyfin-server-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.src.rpm /app/dist/ diff --git a/rpms/jellyfin-web/resources/build.sh b/rpms/jellyfin-web/resources/build.sh index dc3f958..87747d8 100755 --- a/rpms/jellyfin-web/resources/build.sh +++ b/rpms/jellyfin-web/resources/build.sh @@ -15,4 +15,4 @@ rpmbuild -ba /app/resources/jellyfin-web_${PACKAGE_VERSION}.spec # Copy the built RPMs to output directory cp /root/rpmbuild/RPMS/noarch/jellyfin-web-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.noarch.rpm /app/dist/ -cp /root/rpmbuild/SRPMS/jellyfin-web-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.src.rpm /app/dist/ \ No newline at end of file +cp /root/rpmbuild/SRPMS/jellyfin-web-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.src.rpm /app/dist/ diff --git a/rpms/jsonnet-language-server/resources/build.sh b/rpms/jsonnet-language-server/resources/build.sh index 403f982..e23635b 100755 --- a/rpms/jsonnet-language-server/resources/build.sh +++ b/rpms/jsonnet-language-server/resources/build.sh @@ -11,4 +11,4 @@ chmod +x /app/jsonnet-language-server # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/jsonnet-lint/resources/build.sh b/rpms/jsonnet-lint/resources/build.sh index ee9c2fd..363afcf 100755 --- a/rpms/jsonnet-lint/resources/build.sh +++ b/rpms/jsonnet-lint/resources/build.sh @@ -20,4 +20,4 @@ GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnet-lint@v${PACKAGE_V envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build RPM package -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/jsonnet/resources/build.sh b/rpms/jsonnet/resources/build.sh index 20ea2a8..45bfa68 100755 --- a/rpms/jsonnet/resources/build.sh +++ b/rpms/jsonnet/resources/build.sh @@ -21,4 +21,4 @@ GOBIN=/app go install github.com/google/go-jsonnet/cmd/jsonnetfmt@v${PACKAGE_VER envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build RPM package -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/kubeconform/resources/build.sh b/rpms/kubeconform/resources/build.sh index ffd0d28..c1d32aa 100755 --- a/rpms/kubeconform/resources/build.sh +++ b/rpms/kubeconform/resources/build.sh @@ -11,4 +11,4 @@ tar -xzf /app/kubeconform-linux-amd64.tar.gz -C /app/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/libfoundationdb/resources/build.sh b/rpms/libfoundationdb/resources/build.sh index ece9ffd..2af8e5b 100755 --- a/rpms/libfoundationdb/resources/build.sh +++ b/rpms/libfoundationdb/resources/build.sh @@ -11,4 +11,4 @@ chmod 755 /app/libfdb_c.so # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/libfoundationdb/resources/scripts/postinstall.sh b/rpms/libfoundationdb/resources/scripts/postinstall.sh index a557617..ec85108 100644 --- a/rpms/libfoundationdb/resources/scripts/postinstall.sh +++ b/rpms/libfoundationdb/resources/scripts/postinstall.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash # Update the dynamic linker cache to include the new library -ldconfig \ No newline at end of file +ldconfig diff --git a/rpms/nfpm/resources/build.sh b/rpms/nfpm/resources/build.sh index 245cee9..e1ea8d9 100755 --- a/rpms/nfpm/resources/build.sh +++ b/rpms/nfpm/resources/build.sh @@ -11,4 +11,4 @@ GOBIN=/app go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v${PACKAGE_VERSION} envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/nomad-autoscaler/resources/build.sh b/rpms/nomad-autoscaler/resources/build.sh index 6287e9e..a76ec67 100755 --- a/rpms/nomad-autoscaler/resources/build.sh +++ b/rpms/nomad-autoscaler/resources/build.sh @@ -12,4 +12,4 @@ unzip nomad-autoscaler.zip # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/nomad/resources/build.sh b/rpms/nomad/resources/build.sh index 7ec34b3..48a0875 100755 --- a/rpms/nomad/resources/build.sh +++ b/rpms/nomad/resources/build.sh @@ -12,4 +12,4 @@ unzip nomad.zip # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/nzbget/resources/build.sh b/rpms/nzbget/resources/build.sh index 81a3cf7..d5c9218 100755 --- a/rpms/nzbget/resources/build.sh +++ b/rpms/nzbget/resources/build.sh @@ -4,4 +4,4 @@ set -e # Download the pre-built RPM from GitHub releases curl -L -o /app/dist/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm \ - https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/nzbgetcom/nzbget/releases/download/v$PACKAGE_VERSION/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm \ No newline at end of file + https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/nzbgetcom/nzbget/releases/download/v$PACKAGE_VERSION/nzbget-${PACKAGE_VERSION}-${PACKAGE_RELEASE}.x86_64.rpm diff --git a/rpms/openbao-plugin-secret-consul/resources/build.sh b/rpms/openbao-plugin-secret-consul/resources/build.sh index aa123e7..d64dcb2 100755 --- a/rpms/openbao-plugin-secret-consul/resources/build.sh +++ b/rpms/openbao-plugin-secret-consul/resources/build.sh @@ -17,4 +17,4 @@ chmod +x /app/openbao-plugin-secrets-consul # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/openbao-plugin-secret-consul/resources/scripts/preinstall.sh b/rpms/openbao-plugin-secret-consul/resources/scripts/preinstall.sh index a32015d..7a7c7df 100644 --- a/rpms/openbao-plugin-secret-consul/resources/scripts/preinstall.sh +++ b/rpms/openbao-plugin-secret-consul/resources/scripts/preinstall.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -mkdir -p /opt/openbao-plugins \ No newline at end of file +mkdir -p /opt/openbao-plugins diff --git a/rpms/openbao-plugin-secret-nomad/resources/build.sh b/rpms/openbao-plugin-secret-nomad/resources/build.sh index 2684664..f0a78e7 100755 --- a/rpms/openbao-plugin-secret-nomad/resources/build.sh +++ b/rpms/openbao-plugin-secret-nomad/resources/build.sh @@ -17,4 +17,4 @@ chmod +x /app/openbao-plugin-secrets-nomad # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/openbao-plugin-secret-nomad/resources/scripts/preinstall.sh b/rpms/openbao-plugin-secret-nomad/resources/scripts/preinstall.sh index a32015d..7a7c7df 100644 --- a/rpms/openbao-plugin-secret-nomad/resources/scripts/preinstall.sh +++ b/rpms/openbao-plugin-secret-nomad/resources/scripts/preinstall.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -mkdir -p /opt/openbao-plugins \ No newline at end of file +mkdir -p /opt/openbao-plugins diff --git a/rpms/openbao-plugins/resources/build.sh b/rpms/openbao-plugins/resources/build.sh index 2afe6d8..46eed96 100755 --- a/rpms/openbao-plugins/resources/build.sh +++ b/rpms/openbao-plugins/resources/build.sh @@ -7,4 +7,4 @@ set -e envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/packer/resources/build.sh b/rpms/packer/resources/build.sh index 9e67b4d..f5934f1 100755 --- a/rpms/packer/resources/build.sh +++ b/rpms/packer/resources/build.sh @@ -13,4 +13,4 @@ unzip packer.zip envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/ruff/resources/build.sh b/rpms/ruff/resources/build.sh index c2827db..3cde8db 100755 --- a/rpms/ruff/resources/build.sh +++ b/rpms/ruff/resources/build.sh @@ -11,4 +11,4 @@ mv /app/ruff-x86_64-unknown-linux-gnu/* /app/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/stalwart-cli/resources/build.sh b/rpms/stalwart-cli/resources/build.sh index 8156ab6..e631a79 100755 --- a/rpms/stalwart-cli/resources/build.sh +++ b/rpms/stalwart-cli/resources/build.sh @@ -14,4 +14,4 @@ chmod +x /app/stalwart-cli # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/stalwart-foundationdb/resources/build.sh b/rpms/stalwart-foundationdb/resources/build.sh index e7212d4..dbacbe5 100755 --- a/rpms/stalwart-foundationdb/resources/build.sh +++ b/rpms/stalwart-foundationdb/resources/build.sh @@ -14,4 +14,4 @@ chmod +x /app/stalwart-foundationdb # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/stalwart-foundationdb/resources/scripts/postremove.sh b/rpms/stalwart-foundationdb/resources/scripts/postremove.sh index e8f023d..30a3787 100644 --- a/rpms/stalwart-foundationdb/resources/scripts/postremove.sh +++ b/rpms/stalwart-foundationdb/resources/scripts/postremove.sh @@ -4,4 +4,4 @@ systemctl daemon-reload # Note: We don't remove user data, logs, or configuration files -# to preserve user data in case of reinstallation \ No newline at end of file +# to preserve user data in case of reinstallation diff --git a/rpms/stalwart-foundationdb/resources/scripts/preinstall.sh b/rpms/stalwart-foundationdb/resources/scripts/preinstall.sh index 58783f0..de618f1 100644 --- a/rpms/stalwart-foundationdb/resources/scripts/preinstall.sh +++ b/rpms/stalwart-foundationdb/resources/scripts/preinstall.sh @@ -17,4 +17,4 @@ mkdir -p /var/log/stalwart # Set ownership chown -R stalwart:stalwart /opt/stalwart chown -R stalwart:stalwart /var/lib/stalwart -chown -R stalwart:stalwart /var/log/stalwart \ No newline at end of file +chown -R stalwart:stalwart /var/log/stalwart diff --git a/rpms/stalwart-foundationdb/resources/scripts/preremove.sh b/rpms/stalwart-foundationdb/resources/scripts/preremove.sh index 9c756ee..f052500 100644 --- a/rpms/stalwart-foundationdb/resources/scripts/preremove.sh +++ b/rpms/stalwart-foundationdb/resources/scripts/preremove.sh @@ -4,4 +4,4 @@ if systemctl is-enabled stalwart-foundationdb.service >/dev/null 2>&1; then systemctl stop stalwart-foundationdb.service systemctl disable stalwart-foundationdb.service -fi \ No newline at end of file +fi diff --git a/rpms/stalwart-foundationdb/resources/stalwart-foundationdb.service b/rpms/stalwart-foundationdb/resources/stalwart-foundationdb.service index db8c414..535538f 100644 --- a/rpms/stalwart-foundationdb/resources/stalwart-foundationdb.service +++ b/rpms/stalwart-foundationdb/resources/stalwart-foundationdb.service @@ -23,4 +23,4 @@ ProtectSystem=strict ReadWritePaths=/var/lib/stalwart /var/log/stalwart /opt/stalwart/data [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/rpms/stalwart/resources/build.sh b/rpms/stalwart/resources/build.sh index dcab2a9..93c1871 100755 --- a/rpms/stalwart/resources/build.sh +++ b/rpms/stalwart/resources/build.sh @@ -14,4 +14,4 @@ chmod +x /app/stalwart # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/stalwart/resources/scripts/postremove.sh b/rpms/stalwart/resources/scripts/postremove.sh index e8f023d..30a3787 100644 --- a/rpms/stalwart/resources/scripts/postremove.sh +++ b/rpms/stalwart/resources/scripts/postremove.sh @@ -4,4 +4,4 @@ systemctl daemon-reload # Note: We don't remove user data, logs, or configuration files -# to preserve user data in case of reinstallation \ No newline at end of file +# to preserve user data in case of reinstallation diff --git a/rpms/stalwart/resources/scripts/preinstall.sh b/rpms/stalwart/resources/scripts/preinstall.sh index 58783f0..de618f1 100644 --- a/rpms/stalwart/resources/scripts/preinstall.sh +++ b/rpms/stalwart/resources/scripts/preinstall.sh @@ -17,4 +17,4 @@ mkdir -p /var/log/stalwart # Set ownership chown -R stalwart:stalwart /opt/stalwart chown -R stalwart:stalwart /var/lib/stalwart -chown -R stalwart:stalwart /var/log/stalwart \ No newline at end of file +chown -R stalwart:stalwart /var/log/stalwart diff --git a/rpms/stalwart/resources/scripts/preremove.sh b/rpms/stalwart/resources/scripts/preremove.sh index 02a5017..f7f42dd 100644 --- a/rpms/stalwart/resources/scripts/preremove.sh +++ b/rpms/stalwart/resources/scripts/preremove.sh @@ -4,4 +4,4 @@ if systemctl is-enabled stalwart.service >/dev/null 2>&1; then systemctl stop stalwart.service systemctl disable stalwart.service -fi \ No newline at end of file +fi diff --git a/rpms/stalwart/resources/stalwart.service b/rpms/stalwart/resources/stalwart.service index 7aa9904..54b96ff 100644 --- a/rpms/stalwart/resources/stalwart.service +++ b/rpms/stalwart/resources/stalwart.service @@ -22,4 +22,4 @@ ProtectSystem=strict ReadWritePaths=/var/lib/stalwart /var/log/stalwart /opt/stalwart/data [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/rpms/terraform/resources/build.sh b/rpms/terraform/resources/build.sh index f11c0bf..265718d 100755 --- a/rpms/terraform/resources/build.sh +++ b/rpms/terraform/resources/build.sh @@ -13,4 +13,4 @@ unzip terraform.zip envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/terragrunt/resources/build.sh b/rpms/terragrunt/resources/build.sh index e9549a0..0267521 100755 --- a/rpms/terragrunt/resources/build.sh +++ b/rpms/terragrunt/resources/build.sh @@ -9,4 +9,4 @@ wget -O /app/terragrunt https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/tflint/resources/build.sh b/rpms/tflint/resources/build.sh index fbf0517..1ab2bcb 100755 --- a/rpms/tflint/resources/build.sh +++ b/rpms/tflint/resources/build.sh @@ -11,4 +11,4 @@ unzip -j /app/tflint_linux_amd64.zip -d /app/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/unkin-ca-certificates/resources/build.sh b/rpms/unkin-ca-certificates/resources/build.sh index ff2bd21..a5abb78 100755 --- a/rpms/unkin-ca-certificates/resources/build.sh +++ b/rpms/unkin-ca-certificates/resources/build.sh @@ -8,4 +8,4 @@ curl -L -o /app/UNKIN_ROOTCA_2024.crt https://vault.query.consul:8200/v1/pki_roo # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/uv/resources/build.sh b/rpms/uv/resources/build.sh index 1b95934..abaa916 100755 --- a/rpms/uv/resources/build.sh +++ b/rpms/uv/resources/build.sh @@ -11,4 +11,4 @@ mv /app/uv-x86_64-unknown-linux-gnu/* /app/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/vals/resources/build.sh b/rpms/vals/resources/build.sh index b6b0e1b..5d40652 100755 --- a/rpms/vals/resources/build.sh +++ b/rpms/vals/resources/build.sh @@ -15,4 +15,4 @@ chmod +x /app/vals # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/vault/resources/build.sh b/rpms/vault/resources/build.sh index 6e81b20..ce7035d 100755 --- a/rpms/vault/resources/build.sh +++ b/rpms/vault/resources/build.sh @@ -13,4 +13,4 @@ unzip vault.zip envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/victoria-logs/resources/build.sh b/rpms/victoria-logs/resources/build.sh index 38d81e3..0d23b7f 100755 --- a/rpms/victoria-logs/resources/build.sh +++ b/rpms/victoria-logs/resources/build.sh @@ -10,4 +10,4 @@ tar xf victoria-logs-linux-amd64-v${PACKAGE_VERSION}.tar.gz # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/vlutils/resources/build.sh b/rpms/vlutils/resources/build.sh index 5cabd05..4de9e0e 100755 --- a/rpms/vlutils/resources/build.sh +++ b/rpms/vlutils/resources/build.sh @@ -10,4 +10,4 @@ tar xf vlutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/vmutils/resources/build.sh b/rpms/vmutils/resources/build.sh index f7da482..ef0107e 100755 --- a/rpms/vmutils/resources/build.sh +++ b/rpms/vmutils/resources/build.sh @@ -10,4 +10,4 @@ tar xf vmutils-linux-amd64-v${PACKAGE_VERSION}.tar.gz # Process the nfpm.yaml template with environment variables envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/rpms/xh/resources/build.sh b/rpms/xh/resources/build.sh index aa7e242..bbc7e4f 100755 --- a/rpms/xh/resources/build.sh +++ b/rpms/xh/resources/build.sh @@ -11,4 +11,4 @@ mv /app/xh-v${PACKAGE_VERSION}-x86_64-unknown-linux-musl/* /app/ envsubst < /app/resources/nfpm.yaml > /app/nfpm.yaml # Build the RPM -nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm \ No newline at end of file +nfpm pkg --config /app/nfpm.yaml --target /app/dist --packager rpm diff --git a/tools/update-gh b/tools/update-gh index cb6deef..f37f169 100755 --- a/tools/update-gh +++ b/tools/update-gh @@ -459,4 +459,4 @@ Examples: if __name__ == '__main__': - main() \ No newline at end of file + main()