Running ./mp multiplane/update-htaccess creates new lines at the end of .htaccess after running it multiple times, which happens automatically when using composer update.
Solution 1: remove empty line at EOF in .htaccess.dist
Solution 2 (cleaner): Don't use the whole dist file as replacement string, but only the text inside '/# BEGIN CpMultiplane.*# END CpMultiplane/s'
Running
./mp multiplane/update-htaccess
creates new lines at the end of.htaccess
after running it multiple times, which happens automatically when usingcomposer update
.Solution 1: remove empty line at EOF in
.htaccess.dist
Solution 2 (cleaner): Don't use the whole dist file as replacement string, but only the text inside'/# BEGIN CpMultiplane.*# END CpMultiplane/s'