[
https://issues.apache.org/jira/browse/KARAF-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jörg Weule updated KARAF-5066:
------------------------------
Issue Type: New Feature (was: Bug)
> feature:install feature:uninstall without any error
> ---------------------------------------------------
>
> Key: KARAF-5066
> URL: https://issues.apache.org/jira/browse/KARAF-5066
> Project: Karaf
> Issue Type: New Feature
> Reporter: Jörg Weule
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> feature:install and feature:uninstall are generating errors if the feature is
> still installed or uninstalled resp. Karaf scripts are ended by this error.
> An option should tell the commands to ignore the error and scripts are more
> robust.
> As an alternative, a new command feature:is-installed returning a Boolean
> should be implemented for
> if { feature:is-installed xxx } { feature:uninstall xxx }
> if {( feature:is-installed xxx ) equals false } { feature:install xxx }
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)