enhance and fix __issue

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.3
Nico Schottelius 14 years ago
parent 6800bbff10
commit 04a07cfaf6
  1. 24
      conf/type/__issue/manifest
  2. 2
      doc/changelog

@ -20,15 +20,21 @@
#
destination=/etc/issue
source="$(cat "out/explorer/os")"
case "$os" in
archlinux|redhat)
source="$__type/files/$os"
;;
*)
source="$__type/files/default"
;;
esac
os="$(cat "$__global/explorer/os")"
if [ -f "$__object/parameter/source" ]; then
source="$(cat "$__object/parameter/source")"
echo using $source
else
case "$os" in
archlinux|redhat)
source="$__type/files/$os"
;;
*)
source="$__type/files/default"
;;
esac
fi
__file "$destination" --source "$source"

@ -2,6 +2,8 @@
* Document cdist-type-build-emulation
* Document cdist-type-emulator
* Document cdist-remote-explorer-run
* Fix dependencies in cdist-code-run
* Add --source to __issue and fix os check
1.3.0: 2011-03-20
* Add support for local and remote code generation and execution

Loading…
Cancel
Save