Skip to content

Commit

Permalink
v6.22
Browse files Browse the repository at this point in the history
General | Resolved an issue where /etc/bashrc.d entries could be run multiple times: https://github.com/Fourdee/DietPi/issues/2529
  • Loading branch information
Daniel Knight committed Feb 10, 2019
1 parent 87faca8 commit 3922a73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ v6.22
Changes / Improvements / Optimisations:

Bug Fixes:
- General | Resolved an issue where /etc/bashrc.d entries could be run multiple times: https://github.com/Fourdee/DietPi/issues/2529

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: https://github.com/Fourdee/DietPi/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+base%3Amaster

Expand Down
4 changes: 3 additions & 1 deletion dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,9 @@ Also have a look at "Sonarr", another alternative TV show manager, available for
elif (( $G_DIETPI_VERSION_SUB == 21 )); then

#-------------------------------------------------------------------------------
echo 0
#Redo our /etc/bash.bashrc entry, user confirmed 4 entries: https://github.com/Fourdee/DietPi/issues/2529
sed -i '\#for i in /etc/bashrc#d' /etc/bash.bashrc
G_CONFIG_INJECT '.*/etc/bashrc\.d/.*' 'for i in /etc/bashrc.d/*.sh; do [ -r "$i" ] && . $i; done' /etc/bash.bashrc
#-------------------------------------------------------------------------------

fi
Expand Down

0 comments on commit 3922a73

Please sign in to comment.