DRY: Remove default parameter value handeling in __apt_source

This commit is contained in:
Antoine Catton 2014-12-27 20:05:40 -07:00
parent 6610a9c384
commit 17afb5f5ad
2 changed files with 3 additions and 5 deletions

View file

@ -27,11 +27,9 @@ if [ -f "$__object/parameter/distribution" ]; then
else
distribution="$(cat "$__global/explorer/lsb_codename")"
fi
if [ -f "$__object/parameter/component" ]; then
component="$(cat "$__object/parameter/component")"
else
component=""
fi
if [ -f "$__object/parameter/arch" ]; then
forcedarch="[arch=$(cat "$__object/parameter/arch")]"
else