Fix packages provides: now new version of package replaces the old one
This commit is contained in:
parent
c6283d1b5a
commit
0ffaafd788
|
@ -11,6 +11,7 @@
|
|||
- [#227](https://github.com/influxdb/telegraf/pull/227): Add command intervals to exec plugin. Thanks @jpalay!
|
||||
|
||||
### Bugfixes
|
||||
- [#228](https://github.com/influxdb/telegraf/pull/228): New version of package will replace old one. Thanks @ekini!
|
||||
|
||||
## v0.1.9 [2015-09-22]
|
||||
|
||||
|
|
|
@ -277,7 +277,7 @@ fi
|
|||
|
||||
COMMON_FPM_ARGS="-C $TMP_WORK_DIR --vendor $VENDOR --url $URL --license $LICENSE \
|
||||
--maintainer $MAINTAINER --after-install $POST_INSTALL_PATH \
|
||||
--name telegraf --version $VERSION --config-files $CONFIG_ROOT_DIR ."
|
||||
--name telegraf --provides telegraf --version $VERSION --config-files $CONFIG_ROOT_DIR ."
|
||||
$rpm_args fpm -s dir -t rpm --description "$DESCRIPTION" $COMMON_FPM_ARGS
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to create RPM package -- aborting."
|
||||
|
|
Loading…
Reference in New Issue