瀏覽代碼

Take ownership of the snakeoil

Bob Mottram 8 年之前
父節點
當前提交
0913425df4
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/freedombone-utils-setup

+ 3
- 0
src/freedombone-utils-setup 查看文件

443
     if [ -d /usr/local/share/.cache/yarn ]; then
443
     if [ -d /usr/local/share/.cache/yarn ]; then
444
         rm -rf /usr/local/share/.cache/yarn
444
         rm -rf /usr/local/share/.cache/yarn
445
     fi
445
     fi
446
+    if [ -f /usr/lib/ssl/certs/ssl-cert-snakeoil.pem ]; then
447
+        chown root:root /usr/lib/ssl/certs/ssl-cert-snake*
448
+    fi
446
     if [ -d /bin ]; then
449
     if [ -d /bin ]; then
447
         chown root:root /bin/*
450
         chown root:root /bin/*
448
     fi
451
     fi