diff --git a/pkg.info b/pkg.info index d0a0927..d3cf21f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,11 @@ name: bash description: The Bourne-Again Shell version: 5.2.37 -revision: 2 +revision: 3 url: https://www.gnu.org/software/bash/ license: GPL3-or-later architecture: any -keep: ["etc/bashrc","etc/profile"] +keep: ["etc/bashrc","etc/profile","etc/skel/.bash_profile","etc/skel/.bashrc"] depends: ["glibc","readline","readline"] optional_depends: ["bash-completion"] provides: ["sh"] diff --git a/source-files/bashrc b/source-files/bashrc index 680435c..91ac068 100644 --- a/source-files/bashrc +++ b/source-files/bashrc @@ -1,6 +1,7 @@ # /etc/bashrc -# Setting bash prompt if not in chroot -if ! [ "$(awk '$5=="/" {print $1}'