DRY: Remove default parameter value handeling in __package_pkg_openbsd

This commit is contained in:
Antoine Catton 2014-12-27 20:47:30 -07:00
parent ebf0479f60
commit 33cc3b0fa2
2 changed files with 2 additions and 5 deletions

View File

@ -42,11 +42,7 @@ else
name="$__object_id"
fi
if [ -f "$__object/parameter/state" ]; then
state_should="$(cat "$__object/parameter/state")"
else
state_should="present"
fi
state_should="$(cat "$__object/parameter/state")"
pkg_version="$(cat "$__object/explorer/pkg_version")"

View File

@ -0,0 +1 @@
present