mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Fix backup restore
This commit is contained in:
parent
12409ddeaf
commit
bea7ccd25e
2 changed files with 5 additions and 5 deletions
|
@ -374,8 +374,8 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
|
|||
# Copying ssl certificates
|
||||
if [ "$SSL" = 'yes' ]; then
|
||||
for crt in $(ls $tmpdir/web/$domain/conf |grep ssl); do
|
||||
crt=$(echo "$crt" |sed "s/ssl.//")
|
||||
cp -f $tmpdir/web/$domain/conf/ssl.$crt $USER_DATA/ssl/$crt
|
||||
crt=$(echo $crt|sed -e "s/ssl.//")
|
||||
cp -f $tmpdir/web/$domain/conf/$crt $USER_DATA/ssl/$crt
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue