Merge pull request #1428 from influxdb/new_cli_bin

Create link for renamed CLI binary
pull/1420/merge
Philip O'Toole 2015-01-28 17:28:14 -08:00
commit 094e9bd008
1 changed files with 2 additions and 2 deletions

View File

@ -147,10 +147,10 @@ generate_postinstall_script() {
version=$1
cat <<EOF >$POST_INSTALL_PATH
rm -f $INSTALL_ROOT_DIR/influxd
rm -f $INSTALL_ROOT_DIR/influxdb
rm -f $INSTALL_ROOT_DIR/influx
rm -f $INSTALL_ROOT_DIR/init.sh
ln -s $INSTALL_ROOT_DIR/versions/$version/influxd $INSTALL_ROOT_DIR/influxd
ln -s $INSTALL_ROOT_DIR/versions/$version/influxdb $INSTALL_ROOT_DIR/influxdb
ln -s $INSTALL_ROOT_DIR/versions/$version/influx $INSTALL_ROOT_DIR/influx
ln -s $INSTALL_ROOT_DIR/versions/$version/scripts/init.sh $INSTALL_ROOT_DIR/init.sh
if [ ! -L /etc/init.d/influxdb ]; then