mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
removed unnecessary sed expr defenition
This commit is contained in:
parent
5afa0f4a00
commit
861585bcca
30 changed files with 74 additions and 74 deletions
|
@ -50,11 +50,11 @@ is_object_valid 'mail' 'DOMAIN' "$domain"
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
if [ -e "$USER_DATA/mail/$domain.pem" ]; then
|
||||
pem=$(cat $USER_DATA/mail/$domain.pem |sed -e ':a;N;$!ba;s/\n/\\n/g')
|
||||
pem=$(cat $USER_DATA/mail/$domain.pem | sed ':a;N;$!ba;s/\n/\\n/g')
|
||||
fi
|
||||
|
||||
if [ -e "$USER_DATA/mail/$domain.pub" ]; then
|
||||
pub=$(cat $USER_DATA/mail/$domain.pub |sed -e ':a;N;$!ba;s/\n/\\n/g')
|
||||
pub=$(cat $USER_DATA/mail/$domain.pub | sed ':a;N;$!ba;s/\n/\\n/g')
|
||||
fi
|
||||
|
||||
# Listing domains
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue