mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-12-04 02:46:26 +00:00
hotfix: add print statement for moving
This commit is contained in:
parent
d232ddce1d
commit
e6627c48b7
@ -187,6 +187,7 @@ class Import:
|
|||||||
print(f'{dest_path} already exists, skipping')
|
print(f'{dest_path} already exists, skipping')
|
||||||
os.remove(source_path)
|
os.remove(source_path)
|
||||||
else:
|
else:
|
||||||
|
print(f'Moving {source_path} to {dest_path}')
|
||||||
shutil.move(src=source_path, dst=dest_path)
|
shutil.move(src=source_path, dst=dest_path)
|
||||||
if os.path.exists('/usr/sbin/restorecon'):
|
if os.path.exists('/usr/sbin/restorecon'):
|
||||||
processor.run_proc_foreground_shell(f'/usr/sbin/restorecon {dest_path}')
|
processor.run_proc_foreground_shell(f'/usr/sbin/restorecon {dest_path}')
|
||||||
|
Loading…
Reference in New Issue
Block a user