Skip to content

Commit

Permalink
Fixed the PR (#194)
Browse files Browse the repository at this point in the history
Added back Debian support to the command line component of the script.

* fixed pr

Signed-off-by: Apurv Sonawane <apurvsonawane28@gmail.com>

* Fixed PR

Signed-off-by: Apurv Sonawane <apurvsonawane28@gmail.com>

---------

Signed-off-by: Apurv Sonawane <apurvsonawane28@gmail.com>
  • Loading branch information
Apurv428 authored May 10, 2024
1 parent 341b780 commit 03108c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/package_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ def pds(q):
if re.match(r'.*\.json', file):
print(f"Extracting {file} from PDS data ... ")
pds(file)
elif file == 'Debian' or file == 'debian':
print(f"Extracting {file} data ... ")
debian()
elif file == 'Clef' or file == 'clef':
print(f"Extracting {file} data ... ")
clefos()
Expand All @@ -382,6 +385,7 @@ def pds(q):
else:
print(
"Usage:\n./package_build <exact_file_name.json>\n\t\t\t[if data is from PDS]"
"\n./package_build.py debian\n\t\t\t[if data is from Debian]"
"\n./package_build.py clef\n\t\t\t[if data is from ClefOS]"
"\n./package_build.py opensuse\n\t\t\t[if data is from OpenSUSE]"
"\n./package_build.py fedora\n\t\t\t[if data is from Fedora]"
Expand Down

0 comments on commit 03108c5

Please sign in to comment.