rename all occurences of hardware_type to machine

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-04-29 10:37:43 +02:00
parent 441ebf94c1
commit ecc0b2136d
2 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,7 @@
# set -x # set -x
os_version="$(cat "$__global/explorer/os_version")" os_version="$(cat "$__global/explorer/os_version")"
hardware_type="$(cat "$__global/explorer/hardware_type")" machine="$(cat "$__global/explorer/machine")"
if [ -f "$__object/parameter/flavor" ]; then if [ -f "$__object/parameter/flavor" ]; then
@ -46,7 +46,7 @@ state="$(cat "$__object/parameter/state")"
pkg_version="$(cat "$__object/explorer/pkg_version")" pkg_version="$(cat "$__object/explorer/pkg_version")"
# TODO: Shouldn't be hardcoded # TODO: Shouldn't be hardcoded
echo export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/$os_version/packages/$hardware_type/ echo export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/$os_version/packages/$machine/
case "$state" in case "$state" in
installed) installed)

View file

@ -2,6 +2,7 @@
* Bugfix/Feature: Type __package_yum: Add centos support, fix redhat * Bugfix/Feature: Type __package_yum: Add centos support, fix redhat
support (Ramon Salvadó) support (Ramon Salvadó)
* New Type __timezone (Ramon Salvadó) * New Type __timezone (Ramon Salvadó)
* Rename explorer hardware_type to machine
1.6.2: 2011-04-19 1.6.2: 2011-04-19