浏览代码

Missing redirection

Bob Mottram 10 年前
父节点
当前提交
aa340480e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh 查看文件

554
   echo 'chmod 640 /etc/ssl/certs/$HOSTNAME.dhparam' >> /usr/bin/makecert
554
   echo 'chmod 640 /etc/ssl/certs/$HOSTNAME.dhparam' >> /usr/bin/makecert
555
   echo 'if [ -f /etc/init.d/nginx ]; then' >> /usr/bin/makecert
555
   echo 'if [ -f /etc/init.d/nginx ]; then' >> /usr/bin/makecert
556
   echo '  /etc/init.d/nginx reload' >> /usr/bin/makecert
556
   echo '  /etc/init.d/nginx reload' >> /usr/bin/makecert
557
-  echo 'fi'
557
+  echo 'fi' >> /usr/bin/makecert
558
   echo '# add the public certificate to a separate directory' >> /usr/bin/makecert
558
   echo '# add the public certificate to a separate directory' >> /usr/bin/makecert
559
   echo '# so that we can redistribute it easily' >> /usr/bin/makecert
559
   echo '# so that we can redistribute it easily' >> /usr/bin/makecert
560
   echo 'if [ ! -d /etc/ssl/mycerts ]; then' >> /usr/bin/makecert
560
   echo 'if [ ! -d /etc/ssl/mycerts ]; then' >> /usr/bin/makecert