diff --git a/entrypoint.sh b/entrypoint.sh index 8249139..ae47f7a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -31,7 +31,8 @@ sed 's/^GLOBAL_ENV_//' | while IFS= read -r line do if ! grep -q "^${line%=*}=" /etc/environment; then - echo "export $line" | sudo tee -a /etc/environment + echo "" >> /etc/environment + echo "export $line" >> /etc/environment fi done @@ -47,6 +48,7 @@ sed 's/^USER_ENV_//' | # Append the result to /usr/bin/.bashrc while IFS= read -r line do + echo "" >> /usr/bin/.bashrc echo "export $line" >> /usr/bin/.bashrc done diff --git a/version.txt b/version.txt index b39b0b9..9b77657 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.24 \ No newline at end of file +3.0.25 \ No newline at end of file