enhance and fix __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
6800bbff10
commit
04a07cfaf6
2 changed files with 17 additions and 9 deletions
|
@ -20,15 +20,21 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
destination=/etc/issue
|
destination=/etc/issue
|
||||||
source="$(cat "out/explorer/os")"
|
|
||||||
|
|
||||||
case "$os" in
|
os="$(cat "$__global/explorer/os")"
|
||||||
archlinux|redhat)
|
|
||||||
source="$__type/files/$os"
|
if [ -f "$__object/parameter/source" ]; then
|
||||||
;;
|
source="$(cat "$__object/parameter/source")"
|
||||||
*)
|
echo using $source
|
||||||
source="$__type/files/default"
|
else
|
||||||
;;
|
case "$os" in
|
||||||
esac
|
archlinux|redhat)
|
||||||
|
source="$__type/files/$os"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
source="$__type/files/default"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
__file "$destination" --source "$source"
|
__file "$destination" --source "$source"
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
* Document cdist-type-build-emulation
|
* Document cdist-type-build-emulation
|
||||||
* Document cdist-type-emulator
|
* Document cdist-type-emulator
|
||||||
* Document cdist-remote-explorer-run
|
* 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
|
1.3.0: 2011-03-20
|
||||||
* Add support for local and remote code generation and execution
|
* Add support for local and remote code generation and execution
|
||||||
|
|
Loading…
Reference in a new issue