Package init

This commit is contained in:
dogsheng 2019-12-14 14:47:08 +08:00
parent bac38ef3e5
commit ff35e96644
2 changed files with 0 additions and 26 deletions

View File

@ -1,13 +0,0 @@
diff -uNrp a/productmd/treeinfo.py b/productmd/treeinfo.py
--- a/productmd/treeinfo.py 2016-11-15 15:04:26.000000000 +0000
+++ b/productmd/treeinfo.py 2019-01-10 16:44:48.998592066 +0000
@@ -245,6 +245,9 @@ class Release(BaseProduct):
elif self.name.startswith("CentOS"):
self.name = "CentOS"
self.short = "CentOS"
+ elif self.name.startswith("EulerOS"):
+ self.name = "EulerOS"
+ self.short = "EulerOS"
else:
self.short = None

View File

@ -1,13 +0,0 @@
diff -uNrp a/productmd/treeinfo.py b/productmd/treeinfo.py
--- a/productmd/treeinfo.py 2019-08-12 17:21:43.100000000 +0800
+++ b/productmd/treeinfo.py 2019-08-12 17:25:00.344000000 +0800
@@ -248,6 +248,9 @@ class Release(BaseProduct):
elif self.name.startswith("EulerOS"):
self.name = "EulerOS"
self.short = "EulerOS"
+ elif self.name.startswith("openEuler"):
+ self.name = "openEuler"
+ self.short = "openEuler"
else:
self.short = None