mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports: Update pfetch's patches to use git patches
This commit is contained in:
parent
9e12cd0098
commit
a9c362a4be
Notes:
sideshowbarker
2024-07-17 10:47:45 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/a9c362a4be Pull-request: https://github.com/SerenityOS/serenity/pull/14055 Reviewed-by: https://github.com/danners Reviewed-by: https://github.com/timschumi
3 changed files with 31 additions and 10 deletions
23
Ports/pfetch/patches/0001-Use-bin-bash-as-the-shebang.patch
Normal file
23
Ports/pfetch/patches/0001-Use-bin-bash-as-the-shebang.patch
Normal 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
|
||||
|
8
Ports/pfetch/patches/ReadMe.md
Normal file
8
Ports/pfetch/patches/ReadMe.md
Normal 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.
|
||||
|
|
@ -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.
|
||||
|
Loading…
Reference in a new issue