Skip to content

Commit

Permalink
Update backup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed Jan 15, 2019
1 parent 20e5977 commit 722a04d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions shallow_backup/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ def backup_fonts(backup_path, skip=False):
for font in fonts:
if os.path.exists(font):
copyfile(font, os.path.join(backup_path, font.split("/")[-1]))
else: print_red ('Skipping fonts backup, no fonts directory found')

else:
print_red ('Skipping fonts backup. No fonts directory found.')


def backup_all(dotfiles_path, packages_path, fonts_path, configs_path, skip=False):
"""
Complete backup procedure.
Expand Down

0 comments on commit 722a04d

Please sign in to comment.