profile_path_add() {
profile_path_remove
{ echo; echo "# DO NOT EDIT: installed by $path_mark"; echo ""; } >> "$abs_profiled"
That double echo makes script related entries at .profile file go down 1 line on every execution. Like
...
#
# DO NOT EDIT: installed by...
and at second run;
...
#
# DO NOT EDIT: installed by
Empty line between 2 "#" increases every script execution. After few month of cronjob, like 100 empty line between rest of the .profile file entries and script related entries.
profile_path_add() { profile_path_remove { echo; echo "# DO NOT EDIT: installed by $path_mark"; echo ""; } >> "$abs_profiled"
That double echo makes script related entries at .profile file go down 1 line on every execution. Like
and at second run;
Empty line between 2 "#" increases every script execution. After few month of cronjob, like 100 empty line between rest of the .profile file entries and script related entries.