Revert "resolved conditional suggestion and fixed arg help"
This reverts commit 82d6e7d7c7
.
This commit is contained in:
parent
b3fed04257
commit
e896ca8365
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ import subprocess
|
|||
parser = ArgumentParser(description="Install AUR packages into a Docker container")
|
||||
parser.add_argument("package_name", type=str, help="name of the AUR package")
|
||||
parser.add_argument("-x", type=str, metavar='EXECUTABLE', help="name of executable")
|
||||
parser.add_argument("-e", type=str, help="add extra step in dockerfile")
|
||||
parser.add_argument("-e", type=str, help="edit generic dockerfile")
|
||||
args = vars(parser.parse_args())
|
||||
|
||||
package_name = args['package_name']
|
||||
|
@ -45,6 +45,7 @@ RUN makepkg -si --noconfirm
|
|||
#add extra step
|
||||
{"RUN " + edit_flag if edit_flag is not None else ""}
|
||||
|
||||
|
||||
# Now you can play with whatever package you'd like
|
||||
RUN yay -S --noconfirm {package_name}
|
||||
|
||||
|
|
Loading…
Reference in a new issue