From: SimonPersson <SimonPersson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] zsh: add alternative for sh
Date: Tue, 14 Dec 2021 22:31:41 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34540@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is a new pull request by SimonPersson against master on the void-packages repository
https://github.com/SimonPersson/void-packages zsh-alternative
https://github.com/void-linux/void-packages/pull/34540
zsh: add alternative for sh
#### Testing the changes
- I tested the changes in this PR: **YES**
The system boots and basic usage seems to work fine with zsh as `/bin/sh`.
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/34540.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zsh-alternative-34540.patch --]
[-- Type: text/x-diff, Size: 699 bytes --]
From 112c5ac1645b2bba3b7c0b22724bc1df5f872244 Mon Sep 17 00:00:00 2001
From: Simon Persson <simon@flaskpost.me>
Date: Tue, 14 Dec 2021 22:29:13 +0100
Subject: [PATCH] zsh: add alternative for sh
---
srcpkgs/zsh/template | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/srcpkgs/zsh/template b/srcpkgs/zsh/template
index a7aea22e18d9..a8e1291cea8d 100644
--- a/srcpkgs/zsh/template
+++ b/srcpkgs/zsh/template
@@ -27,6 +27,10 @@ register_shell="/bin/zsh /usr/bin/zsh"
lib32disabled=yes
conf_files="/etc/zsh/*"
+alternatives="
+ sh:sh:/usr/bin/zsh
+ sh:sh.1:/usr/share/man/man1/zsh.1"
+
post_patch() {
# Set correct keymap path
sed -i 's#/usr/share/keymaps#/usr/share/kbd/keymaps#g' \
next reply other threads:[~2021-12-14 21:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 21:31 SimonPersson [this message]
2021-12-15 0:08 ` ericonr
2021-12-15 0:25 ` Vaelatern
2021-12-15 0:25 ` Vaelatern
2021-12-15 0:25 ` Vaelatern
2021-12-15 0:35 ` ahesford
2021-12-15 3:46 ` sgn
2021-12-15 5:58 ` q66
2021-12-15 6:52 ` the-maldridge
2021-12-15 6:52 ` [PR PATCH] [Closed]: " the-maldridge
2021-12-15 23:05 ` leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34540@inbox.vuxu.org \
--to=simonpersson@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).