shellcheck: remove unused var

This commit is contained in:
Darko Poljak 2019-04-20 12:40:04 +02:00
parent 3b3ac95ac3
commit 250f3d3fb8

View file

@ -18,7 +18,7 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>. # 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 if [ -f "$__object/parameter/name" ]; then
@ -27,8 +27,6 @@ else
name="$__object_id" name="$__object_id"
fi fi
output=
if [ "$(apk list -I "$name")" ]; then if [ "$(apk list -I "$name")" ]; then
echo present echo present
else else