mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
Ports: Update pfetch's patches to use git patches
This commit is contained in:
parent
9e12cd0098
commit
a9c362a4be
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…
Add table
Add a link
Reference in a new issue