Skip to content

[postinst] Separate file existence check and content check

MichaIng requested to merge (removed):patch-1 into master

"test" / "[" always expands all contained command executions, checking for a files existence and reading the file in the same test hence produces an error, even and since the file does not exist. Checking the file existence and reading its content is hence separated with this commit.

Merge request reports

Loading