Skip to content

Commit

Permalink
Fix backup_repo procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
n549 committed Oct 28, 2024
1 parent e5845d1 commit 291e925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubemarine/apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def backup_repo(group: NodeGroup) -> Optional[RunnersGroupResult]:
# all files in directory will be renamed: xxx.repo -> xxx.repo.bak
# if there already any files with ".bak" extension, they should not be renamed to ".bak.bak"!
# since Ubuntu 24.04 default repos are in ubuntu.sources file
return group.sudo("find /etc/apt/ -type f -name '*.list' -o '*.sources'| "
return group.sudo("find /etc/apt/ -type f -name '*.list' -o -name '*.sources'| "
"sudo xargs -t -iNAME mv -bf NAME NAME.bak")


Expand Down

0 comments on commit 291e925

Please sign in to comment.