Skip to content

main/alpine-baselayout: overwrite PATH again instead of appending it

Sören Tempel requested to merge nmeum/aports:fix-13017 into master

Unfortunately, appending directories to $PATH has several unintended side-effects (see #13017 (closed)). Initially, we unconditionally overwrote PATH in /etc/profile. This was changed in f440e2db due to compatibility with WSL environments (see the commit message for details). However, according to [1] this is no longer needed hence we should just be able to overwrite $PATH again instead of appending to it thereby solving #13017 (closed).

This commit restores the behavior prior to f440e2db.

Fixes #13017 (closed)

Merge request reports