Skip to content

Commit

Permalink
Merge branch 'hotfix/1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Baba committed Aug 25, 2017
2 parents ef8de1b + a2986af commit 67f35b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -39,7 +39,7 @@ $ make PI_HOST=shinycandypi.local
### 動作確認 (RPi)

```bash
$ VERSION=1.2.0 && rm -fr tmp && mkdir tmp && cd tmp && \
$ VERSION=1.2.1 && rm -fr tmp && mkdir tmp && cd tmp && \
tar zxf ~/candy-pi-lite-service-${VERSION}.tgz
$ time sudo SRC_DIR=$(pwd) DEBUG=1 ./install.sh
$ time sudo SRC_DIR=$(pwd) DEBUG=1 MAX_OLD_SPACE_SIZE=256 ./install.sh
Expand All @@ -50,6 +50,9 @@ $ time sudo /opt/candy-line/candy-pi-lite/uninstall.sh
```

# 履歴
* 1.2.1
- インターネットインストール時にudevルールのインストールができていない問題を修正

* 1.2.0
- インストール時に`ltepi2`サービスがインストールされているときはアンインストールしなければインストールを実施しないように変更
- udevルールのインストールができていない問題を修正
Expand Down
8 changes: 4 additions & 4 deletions install.sh
Expand Up @@ -18,7 +18,7 @@ VENDOR_HOME=/opt/candy-line

SERVICE_NAME=candy-pi-lite
GITHUB_ID=CANDY-LINE/candy-pi-lite-service
VERSION=1.2.0
VERSION=1.2.1
BOOT_APN=${BOOT_APN:-soracom.io}
# Channel B
UART_PORT="/dev/ttySC1"
Expand Down Expand Up @@ -162,9 +162,6 @@ function install_candy_board {
pip install --upgrade candy-board-cli
pip install --upgrade candy-board-qws
pip install --upgrade croniter

# Install udev rules
cp -r ${SRC_DIR}/etc/* /etc/
}

function install_candy_red {
Expand Down Expand Up @@ -262,6 +259,9 @@ function install_service {

install -o root -g root -D -m 755 ${SRC_DIR}/uninstall.sh ${SERVICE_HOME}/uninstall.sh

# Install udev rules
cp -r ${SRC_DIR}/etc/* /etc/

info "${SERVICE_NAME} service has been installed"
REBOOT=1
}
Expand Down

0 comments on commit 67f35b3

Please sign in to comment.