Ports: Update pfetch's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 23:10:44 +04:30 committed by Ali Mohammad Pur
parent 9e12cd0098
commit a9c362a4be
Notes: sideshowbarker 2024-07-17 10:47:45 +09:00
3 changed files with 31 additions and 10 deletions

View file

@ -0,0 +1,23 @@
From e748988284621d0f7c03293b93652faefb3b08c9 Mon Sep 17 00:00:00 2001
From: Liav A <liavalb@gmail.com>
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

View file

@ -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.

View file

@ -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.