From 10b96b00fff3e13d8a9015f9809f0fa7df83fa84 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 14 Aug 2025 18:53:09 +0300 Subject: [PATCH] Bash is now in /etc/shells by default --- pkg.info | 1 + post_install.sh | 7 ------- post_remove.sh | 7 ------- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 post_install.sh delete mode 100644 post_remove.sh diff --git a/pkg.info b/pkg.info index 5b59763..989bef4 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: bash description: The Bourne-Again Shell version: 5.3.3 +revision: 2 url: https://www.gnu.org/software/bash/ license: GPL3-or-later architecture: any diff --git a/post_install.sh b/post_install.sh deleted file mode 100644 index 12b31ac..0000000 --- a/post_install.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -SHELL="/bin/bash" - -if ! grep "${SHELL}" "$BPM_ROOT"/etc/shells; then - echo "${SHELL}" | tee -a "$BPM_ROOT"/etc/shells -fi diff --git a/post_remove.sh b/post_remove.sh deleted file mode 100644 index c5e51f7..0000000 --- a/post_remove.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -SHELL="/bin/bash" - -if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then - sed -i "\|${SHELL}|d" "$BPM_ROOT"/etc/shells -fi