Skip to content

Empty line at .profile file #41

Closed
Closed
@Yanik39

Description

@Yanik39

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions