Added debug
This commit is contained in:
parent
9627e2079b
commit
010e931aeb
|
|
@ -338,7 +338,7 @@ def update_git(branch='master'):
|
|||
if branch != 'master':
|
||||
on_branch = simple_command('(cd /root/archinstall; git branch | grep "*" | cut -d\' \' -f 2)')
|
||||
if on_branch.strip().lower() != branch.strip().lower():
|
||||
print(f'[N] Changing branch to {branch}')
|
||||
print(f'[N] Changing branch from {on_branch} to {branch}')
|
||||
output = simple_command(f'(cd /root/archinstall; git checkout {branch}; git pull)')
|
||||
print('[N] Rebooting the new branch')
|
||||
if not 'rebooted' in args:
|
||||
|
|
|
|||
Loading…
Reference in New Issue