瀏覽代碼

Use home directory

Bob Mottram 10 年之前
父節點
當前提交
33dd3848ab
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      install-freedombone.sh

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

@@ -87,7 +87,7 @@ DEBIAN_REPO="ftp.de.debian.org"
87 87
 DEBIAN_VERSION="jessie"
88 88
 
89 89
 # Directory where source code is downloaded and compiled
90
-INSTALL_DIR=/root/build
90
+INSTALL_DIR=$HOME/build
91 91
 
92 92
 # device name for an attached usb drive
93 93
 USB_DRIVE=/dev/sda1
@@ -95,7 +95,7 @@ USB_DRIVE=/dev/sda1
95 95
 export DEBIAN_FRONTEND=noninteractive
96 96
 
97 97
 # File which keeps track of what has already been installed
98
-COMPLETION_FILE=/root/freedombone-completed.txt
98
+COMPLETION_FILE=$HOME/freedombone-completed.txt
99 99
 if [ ! -f $COMPLETION_FILE ]; then
100 100
     touch $COMPLETION_FILE
101 101
 fi