indent + simplify

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
remotes/origin/feature_files_export
Nico Schottelius 13 years ago
parent 48f3252de5
commit 6afcb0e9ee
  1. 8
      conf/type/__package_apt/gencode-remote
  2. 2
      conf/type/__package_pacman/gencode-remote

@ -52,8 +52,9 @@ esac
aptget="DEBIAN_FRONTEND=noninteractive apt-get --quiet --yes"
if [ "$state_is" != "$state_should" ]; then
case "$state_should" in
[ "$state_is" = "$state_should" ] && exit 0
case "$state_should" in
present)
echo $aptget install \"$name\"
;;
@ -64,5 +65,4 @@ if [ "$state_is" != "$state_should" ]; then
echo "Unknown state: $state_should" >&2
exit 1
;;
esac
fi
esac

@ -53,7 +53,7 @@ else
fi
# Exit if nothing is needed to be done
[ "$state_is" = "$state_should ] && exit 0
[ "$state_is" = "$state_should" ] && exit 0
case "$state_should" in
present)

Loading…
Cancel
Save