Skip to content

Commit

Permalink
Fix ruby command
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-coutinho committed Dec 27, 2020
1 parent df3710b commit f89cae5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shallow_backup/backup.py
Expand Up @@ -139,9 +139,9 @@ def run_cmd_if_no_dry_run(command, dest, dry_run) -> int:
overwrite_dir_prompt_if_needed(backup_path, skip)

# ruby
print_pkg_mgr_backup(mgr)
command = f"{mgr} list"
dest = f"{backup_path}/{mgr.replace(' ', '-')}_list.txt"
print_pkg_mgr_backup("gem")
command = "gem list"
dest = f"{backup_path}/gem_list.txt"
run_cmd_if_no_dry_run(command, dest, dry_run)

# brew
Expand Down

0 comments on commit f89cae5

Please sign in to comment.