Accepting request 1247366 from home:witekbedyk:branches:server:monitoring

Use /bin/bash in wrapper scripts. Old systems do not place bash in /usr/bin/

OBS-URL: https://build.opensuse.org/request/show/1247366
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=156
This commit is contained in:
2025-02-20 11:25:29 +00:00
committed by Git OBS Bridge
parent 9dff2d3a71
commit b6aaad8bfc
2 changed files with 9 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ Index: grafana-11.3.0/packaging/wrappers/grafana
+++ grafana-11.3.0/packaging/wrappers/grafana
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/usr/bin/bash
+#!/bin/bash
# Wrapper for the grafana binary
# This file serves as a wrapper for the grafana binary. It ensures we set
@@ -14,7 +14,7 @@ Index: grafana-11.3.0/packaging/wrappers/grafana-cli
+++ grafana-11.3.0/packaging/wrappers/grafana-cli
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/usr/bin/bash
+#!/bin/bash
# Wrapper for the grafana binary
# This file serves as a wrapper for the grafana binary. It ensures we set
@@ -24,7 +24,7 @@ Index: grafana-11.3.0/packaging/wrappers/grafana-server
+++ grafana-11.3.0/packaging/wrappers/grafana-server
@@ -1,4 +1,4 @@
-#! /usr/bin/env bash
+#!/usr/bin/bash
+#!/bin/bash
# Wrapper for the grafana binary
# This file serves as a wrapper for the grafana binary. It ensures we set

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 20 10:45:49 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>
- Use /bin/bash in wrapper scripts
* Change 0002-Use-bash-instead-of-env.patch
-------------------------------------------------------------------
Tue Feb 11 13:16:26 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>