瀏覽代碼

Detect obnam

Bob Mottram 10 年之前
父節點
當前提交
c598246aab
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      install-freedombone.sh

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

3167
   fi
3167
   fi
3168
   apt-get -y --force-yes install obnam bcrypt
3168
   apt-get -y --force-yes install obnam bcrypt
3169
 
3169
 
3170
-  if [ ! -d /etc/obnam ]; then
3170
+  if [ ! -f /usr/bin/obnam ]; then
3171
       echo "ERROR: obnam may not have installed correctly. $CHECK_MESSAGE"
3171
       echo "ERROR: obnam may not have installed correctly. $CHECK_MESSAGE"
3172
       exit 46
3172
       exit 46
3173
   fi
3173
   fi
3289
   fi
3289
   fi
3290
   apt-get -y --force-yes install obnam bcrypt
3290
   apt-get -y --force-yes install obnam bcrypt
3291
 
3291
 
3292
-  if [ ! -d /etc/obnam ]; then
3292
+  if [ ! -f /usr/bin/obnam ]; then
3293
       echo 'obnam may not have installed correctly. Check your internet connection, /etc/network/interfaces and /etc/resolv.conf'
3293
       echo 'obnam may not have installed correctly. Check your internet connection, /etc/network/interfaces and /etc/resolv.conf'
3294
       exit 47
3294
       exit 47
3295
   fi
3295
   fi