bash: fix 50-prompt.sh #4214
Labels
Packaging Problem
Building the package as-is fails ("FTBFS"), or other problem with the packaging of software
Priority: Normal
Normal priority
Please confirm there isn't an existing open report for this package
Name
bash
Version
5.2.37
Summary of the problem
The zsh check in 50-prompt.sh is broken. It should be removed since code for zsh is being moved to the zsh package in #3431
More information
The zsh check being broken caused "shopt" to be used, which zsh doesn't recognize
When zsh sourced this, it also sourced all of /etc/profile which sourced all bash scripts
This caused errors to be seen by users. That was reworked in #3431
The if logic should be removed from 50-prompt.sh since it is no longer coupled with zsh
The text was updated successfully, but these errors were encountered: