From 6fcbbe84fc7510888058b2f227a596046144194c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 29 Sep 2012 15:23:23 -0400 Subject: Add functions to get arch and plat on ProteanOS. --- (limited to 'lib/metadata') diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 6ff84e2..acc80a3 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -90,3 +90,23 @@ _ob_get_distrev_proteanos() _ob_return 0 return ${?} } + +_ob_get_system_arch_proteanos() +{ + _ob_local + + cat /etc/proteanos_arch + + _ob_return 0 + return ${?} +} + +_ob_get_system_plat_proteanos() +{ + _ob_local + + cat /etc/proteanos_plat + + _ob_return 0 + return ${?} +} -- cgit v0.9.1