浏览代码

Use home directory

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

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

87
 DEBIAN_VERSION="jessie"
87
 DEBIAN_VERSION="jessie"
88
 
88
 
89
 # Directory where source code is downloaded and compiled
89
 # Directory where source code is downloaded and compiled
90
-INSTALL_DIR=/root/build
90
+INSTALL_DIR=$HOME/build
91
 
91
 
92
 # device name for an attached usb drive
92
 # device name for an attached usb drive
93
 USB_DRIVE=/dev/sda1
93
 USB_DRIVE=/dev/sda1
95
 export DEBIAN_FRONTEND=noninteractive
95
 export DEBIAN_FRONTEND=noninteractive
96
 
96
 
97
 # File which keeps track of what has already been installed
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
 if [ ! -f $COMPLETION_FILE ]; then
99
 if [ ! -f $COMPLETION_FILE ]; then
100
     touch $COMPLETION_FILE
100
     touch $COMPLETION_FILE
101
 fi
101
 fi