mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-26 11:10:34 +05:00
remove new line character if use agenix
This commit is contained in:
parent
1cf6d01989
commit
e4aabd3de6
@ -62,7 +62,7 @@ in
|
|||||||
|
|
||||||
cat ${file} > ${destination}
|
cat ${file} > ${destination}
|
||||||
echo -n '${prefix}' >> ${destination}
|
echo -n '${prefix}' >> ${destination}
|
||||||
cat ${passwordFile} >> ${destination}
|
cat ${passwordFile} | tr -d '\n' >> ${destination}
|
||||||
echo -n '${suffix}' >> ${destination}
|
echo -n '${suffix}' >> ${destination}
|
||||||
chmod 600 ${destination}
|
chmod 600 ${destination}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user