Remove --noconfirm
This commit is contained in:
parent
ad66b4e6a7
commit
de08a1553b
1 changed files with 1 additions and 5 deletions
6
akshara
6
akshara
|
@ -259,9 +259,7 @@ def handle_system_packages(operation):
|
||||||
f'lowerdir=/var/lib/pacman,upperdir={varlibpacman_overlay},workdir={varlibpacman_overlay_workdir}', '/.blendrw/var/lib/pacman')
|
f'lowerdir=/var/lib/pacman,upperdir={varlibpacman_overlay},workdir={varlibpacman_overlay_workdir}', '/.blendrw/var/lib/pacman')
|
||||||
|
|
||||||
if operation == 'set-custom-packages':
|
if operation == 'set-custom-packages':
|
||||||
operation = ['-Sy']
|
operation = ['-Sy', '--needed']
|
||||||
if args.noconfirm:
|
|
||||||
operation.append('--noconfirm')
|
|
||||||
elif operation == 'drop-overlay':
|
elif operation == 'drop-overlay':
|
||||||
exec('rm', '-f', '/.blend-overlays/future-usr/.okay')
|
exec('rm', '-f', '/.blend-overlays/future-usr/.okay')
|
||||||
exec('rm', '-f', '/.blend-overlays/future-varlibpacman/.okay')
|
exec('rm', '-f', '/.blend-overlays/future-varlibpacman/.okay')
|
||||||
|
@ -361,8 +359,6 @@ parser.add_argument('command', choices=command_map.keys(),
|
||||||
help=argparse.SUPPRESS)
|
help=argparse.SUPPRESS)
|
||||||
parser.add_argument('pkg', action='store', type=str,
|
parser.add_argument('pkg', action='store', type=str,
|
||||||
nargs='*', help=argparse.SUPPRESS)
|
nargs='*', help=argparse.SUPPRESS)
|
||||||
parser.add_argument('-y', '--noconfirm',
|
|
||||||
action='store_true', help=argparse.SUPPRESS)
|
|
||||||
parser.add_argument('--headless',
|
parser.add_argument('--headless',
|
||||||
action='store_true', help=argparse.SUPPRESS)
|
action='store_true', help=argparse.SUPPRESS)
|
||||||
parser.add_argument('-v', '--version', action='version',
|
parser.add_argument('-v', '--version', action='version',
|
||||||
|
|
Loading…
Reference in a new issue