Fix backup restore

This commit is contained in:
Alexandr Loskutov 2018-01-18 15:40:50 +02:00
commit c042fa2689

View file

@ -375,7 +375,7 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
if [ "$SSL" = 'yes' ]; then
for crt in $(ls $tmpdir/web/$domain/conf |grep ssl); do
crt=$(echo $crt|sed -e "s/ssl.//")
cp -f $tmpdir/web/$domain/conf/$crt $USER_DATA/ssl/$crt
cp -f $tmpdir/web/$domain/conf/ssl.$crt $USER_DATA/ssl/$crt
done
fi