From 4c33b3cec3d711abc82e8fa63e8c5b81f2c771f1 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Wed, 7 May 2025 16:17:32 +0200 Subject: [PATCH] profile: fix a shellcheck warning Error: SHELLCHECK_WARNING (CWE-758): [#def1] /etc/profile.d/flatpak.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. Resolves: https://openscanhub.fedoraproject.org/task/51962/log/flatpak-1.16.0-3.fc43/scan-results.html#def1 Signed-off-by: Siteshwar Vashisht --- profile/flatpak.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/profile/flatpak.sh b/profile/flatpak.sh index 395f93b8..4b88baf3 100644 --- a/profile/flatpak.sh +++ b/profile/flatpak.sh @@ -1,3 +1,4 @@ +# shellcheck shell=sh if command -v flatpak > /dev/null; then # set XDG_DATA_DIRS to include Flatpak installations