diff --git a/Ports/pfetch/patches/0001-Use-bin-bash-as-the-shebang.patch b/Ports/pfetch/patches/0001-Use-bin-bash-as-the-shebang.patch new file mode 100644 index 00000000000..9096c1de9f5 --- /dev/null +++ b/Ports/pfetch/patches/0001-Use-bin-bash-as-the-shebang.patch @@ -0,0 +1,23 @@ +From e748988284621d0f7c03293b93652faefb3b08c9 Mon Sep 17 00:00:00 2001 +From: Liav A +Date: Fri, 24 Dec 2021 18:38:15 +0200 +Subject: [PATCH] Use /bin/bash as the shebang + +/bin/sh is a symlink to Shell, which is not sh-compatible. +--- + pfetch | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pfetch b/pfetch +index d47b878..d8f98ba 100755 +--- a/pfetch ++++ b/pfetch +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # + # pfetch - Simple POSIX sh fetch script. + +-- +2.36.1 + diff --git a/Ports/pfetch/patches/ReadMe.md b/Ports/pfetch/patches/ReadMe.md new file mode 100644 index 00000000000..df8c428c9f9 --- /dev/null +++ b/Ports/pfetch/patches/ReadMe.md @@ -0,0 +1,8 @@ +# Patches for pfetch on SerenityOS + +## `0001-Use-bin-bash-as-the-shebang.patch` + +Use /bin/bash as the shebang + +/bin/sh is a symlink to Shell, which is not sh-compatible. + diff --git a/Ports/pfetch/patches/use-bash.patch b/Ports/pfetch/patches/use-bash.patch deleted file mode 100644 index ee3d57962ff..00000000000 --- a/Ports/pfetch/patches/use-bash.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/pfetch b/pfetch -index d47b878..d8f98ba 100755 ---- a/pfetch -+++ b/pfetch -@@ -1,4 +1,4 @@ --#!/bin/sh -+#!/bin/bash - # - # pfetch - Simple POSIX sh fetch script. -