apply matteo85 0007-shell-profile.patch