Use $__explorer to get os type

This commit is contained in:
Jake Guffey 2013-02-19 16:31:06 -05:00
parent 005c94556e
commit a50830dca8
3 changed files with 3 additions and 6 deletions

View File

@ -22,8 +22,7 @@
#
destination="/$__object_id"
# Since $__global isn't available, use uname directly, uname and tr are both part of POSIX
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
os=$("$__explorer/os")
case "$os" in
"freebsd")

View File

@ -22,8 +22,7 @@
#
destination="/$__object_id"
# Since $__global isn't available, use uname directly, uname and tr are both part of POSIX
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
os=$("$__explorer/os")
case "$os" in
"freebsd")

View File

@ -22,8 +22,7 @@
#
destination="/$__object_id"
# Since $__global isn't available, use uname directly, uname and tr are both part of POSIX
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
os=$("$__explorer/os")
case "$os" in
"freebsd")