forked from ungleich-public/cdist
shellcheck: remove unused var
This commit is contained in:
parent
3b3ac95ac3
commit
250f3d3fb8
1 changed files with 1 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
#
|
||||
# Retrieve the status of a package - parsed dpkg output
|
||||
# Retrieve the status of a package - parsed apk output
|
||||
#
|
||||
|
||||
if [ -f "$__object/parameter/name" ]; then
|
||||
|
@ -27,8 +27,6 @@ else
|
|||
name="$__object_id"
|
||||
fi
|
||||
|
||||
output=
|
||||
|
||||
if [ "$(apk list -I "$name")" ]; then
|
||||
echo present
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue