[Sugar-devel] [PATCH sugar-build] Support Fedora 16
Manuel Kaufmann
humitos at gmail.com
Wed Jul 11 15:46:27 EDT 2012
check-system script checks if we are on Fedora 16 and
'distro' variable is set to 'fedora' in this case.
Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
scripts/check-system | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/scripts/check-system b/scripts/check-system
index 659d81e..993606f 100755
--- a/scripts/check-system
+++ b/scripts/check-system
@@ -378,7 +378,8 @@ def check_distro():
# Fedora
try:
fedora_release = open("/etc/fedora-release").read().strip()
- if fedora_release == "Fedora release 17 (Beefy Miracle)":
+ if fedora_release == "Fedora release 17 (Beefy Miracle)" \
+ or fedora_release == "Fedora release 16 (Verne)":
distro = "fedora"
except IOError:
pass
--
1.7.7.6
More information about the Sugar-devel
mailing list