[aur-requests] [PRQ#7406] Deletion Request for dash-sh
Eschwartz [1] filed a deletion request for dash-sh [2]: Frivolous duplicate of extra/dash with sh symlinked to dash instead of bash. [1] https://aur.archlinux.org/account/Eschwartz/ [2] https://aur.archlinux.org/pkgbase/dash-sh/
On 02/02/2017 01:32 AM, notify@aur.archlinux.org wrote:
Eschwartz [1] filed a deletion request for dash-sh [2]:
Frivolous duplicate of extra/dash with sh symlinked to dash instead of bash.
[1] https://aur.archlinux.org/account/Eschwartz/ [2] https://aur.archlinux.org/pkgbase/dash-sh/
Note that a better way of doing this is through pacman hooks: ``` [eschwartz@arch /tmp/bash-nosh]$ cat /etc/pacman.d/hooks/sh-is-dash.hook [Trigger] Type = Package Operation = Install Operation = Upgrade Target = bash [Action] Description = Re-pointing /bin/sh symlink to dash... When = PostTransaction Exec = /usr/bin/ln -sf dash /usr/bin/sh Depends = dash ``` This allows me to use the repo packages, rather than maintaining forked copies, and at the same time ensures sh will always use dash, assuming dash is available. -- Eli Schwartz
Ah, I see, could you include this into the wiki article on dash? This is a much cleaner solution than modifying pacman.conf like it suggests. On Thu, Feb 2, 2017, 1:39 AM Eli Schwartz, <eschwartz93@gmail.com> wrote: On 02/02/2017 01:32 AM, notify@aur.archlinux.org wrote:
Eschwartz [1] filed a deletion request for dash-sh [2]:
Frivolous duplicate of extra/dash with sh symlinked to dash instead of bash.
[1] https://aur.archlinux.org/account/Eschwartz/ [2] https://aur.archlinux.org/pkgbase/dash-sh/
Note that a better way of doing this is through pacman hooks: ``` [eschwartz@arch /tmp/bash-nosh]$ cat /etc/pacman.d/hooks/sh-is-dash.hook [Trigger] Type = Package Operation = Install Operation = Upgrade Target = bash [Action] Description = Re-pointing /bin/sh symlink to dash... When = PostTransaction Exec = /usr/bin/ln -sf dash /usr/bin/sh Depends = dash ``` This allows me to use the repo packages, rather than maintaining forked copies, and at the same time ensures sh will always use dash, assuming dash is available. -- Eli Schwartz -- Signed, Kieran Colford
Please accept this deletion request as the owner deems it no longer necessary at all. On Thu, Feb 2, 2017, 7:55 AM Kieran Colford, <kieran@kcolford.com> wrote:
Ah, I see, could you include this into the wiki article on dash? This is a much cleaner solution than modifying pacman.conf like it suggests.
On Thu, Feb 2, 2017, 1:39 AM Eli Schwartz, <eschwartz93@gmail.com> wrote:
On 02/02/2017 01:32 AM, notify@aur.archlinux.org wrote:
Eschwartz [1] filed a deletion request for dash-sh [2]:
Frivolous duplicate of extra/dash with sh symlinked to dash instead of bash.
[1] https://aur.archlinux.org/account/Eschwartz/ [2] https://aur.archlinux.org/pkgbase/dash-sh/
Note that a better way of doing this is through pacman hooks:
``` [eschwartz@arch /tmp/bash-nosh]$ cat /etc/pacman.d/hooks/sh-is-dash.hook [Trigger] Type = Package Operation = Install Operation = Upgrade Target = bash
[Action] Description = Re-pointing /bin/sh symlink to dash... When = PostTransaction Exec = /usr/bin/ln -sf dash /usr/bin/sh Depends = dash ```
This allows me to use the repo packages, rather than maintaining forked copies, and at the same time ensures sh will always use dash, assuming dash is available.
-- Eli Schwartz
--
Signed, Kieran Colford
-- Signed, Kieran Colford
On 02/02/2017 07:55 AM, Kieran Colford wrote:
Ah, I see, could you include this into the wiki article on dash? This is a much cleaner solution than modifying pacman.conf like it suggests.
Sure, I never bothered to check the Wiki but it appears it still uses NoExtract/NoUpgrade which has no way to depend on dash's continued existence, and doesn't express the change that was made. I guess no one updated it after pacman 5 came out with support for hooks. https://wiki.archlinux.org/index.php?title=Dash&diff=467498&oldid=457840 -- Eli Schwartz
Thank you! On Thu, Feb 2, 2017, 11:19 PM Eli Schwartz, <eschwartz93@gmail.com> wrote:
On 02/02/2017 07:55 AM, Kieran Colford wrote:
Ah, I see, could you include this into the wiki article on dash? This is a much cleaner solution than modifying pacman.conf like it suggests.
Sure, I never bothered to check the Wiki but it appears it still uses NoExtract/NoUpgrade which has no way to depend on dash's continued existence, and doesn't express the change that was made.
I guess no one updated it after pacman 5 came out with support for hooks.
https://wiki.archlinux.org/index.php?title=Dash&diff=467498&oldid=457840
-- Eli Schwartz
--
Signed, Kieran Colford
Request #7406 has been accepted by ArchangeGabriel [1]. [1] https://aur.archlinux.org/account/ArchangeGabriel/
participants (3)
-
Eli Schwartz
-
Kieran Colford
-
notify@aur.archlinux.org