Merge pull request #1428 from influxdb/new_cli_bin
Create link for renamed CLI binarypull/1420/merge
commit
094e9bd008
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue