DRY: Remove default parameter value handeling in __package_pip

This commit is contained in:
Antoine Catton 2014-12-27 20:35:53 -07:00
parent 5aaea37194
commit 9fd285da4c
2 changed files with 2 additions and 5 deletions

View file

@ -22,11 +22,7 @@
#
state_is=$(cat "$__object/explorer/state")
if [ -f "$__object/parameter/state" ]; then
state_should="$(cat "$__object/parameter/state")"
else
state_should="present"
fi
[ "$state_is" = "$state_should" ] && exit 0

View file

@ -0,0 +1 @@
present