update build_iso.py
This commit is contained in:
parent
2425406adc
commit
68bff21f42
@ -253,12 +253,6 @@ class Decsions:
|
||||
" b-deb64",
|
||||
type=str
|
||||
)
|
||||
self.argument_parser.add_argument("b",
|
||||
help="identify the ISO to"
|
||||
"build for example"
|
||||
" b-loadxfdeb",
|
||||
type=str
|
||||
)
|
||||
self.arguments = self.argument_parser.parse_args()
|
||||
# Then determine what desktop build to look for
|
||||
desktop_build_function = getattr(self, f'd{self.arguments.e[2:]}', None)
|
||||
@ -343,15 +337,15 @@ class Decsions:
|
||||
def dloadedxfce(self):
|
||||
""" Arguments for the loaded xfce """
|
||||
build_type_mapping = {
|
||||
'b-loadxfdeb': ("deb", "_64"),
|
||||
'b-loadxfdev': ("dev", "_64"),
|
||||
'b-deb64': ("deb", "_64"),
|
||||
'b-dev64': ("dev", "_64"),
|
||||
}
|
||||
|
||||
build_argument = self.arguments.b
|
||||
if build_argument in build_type_mapping:
|
||||
pass
|
||||
readybuild()
|
||||
BuildLoadedxfce(*build_type_mapping[build_argument])
|
||||
Buildloadedxfce(*build_type_mapping[build_argument])
|
||||
else:
|
||||
logger.critical("You have not specified a build to process!")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user