(targetdir)
| 363 | rsynccall = ["rsync","-ax","--delete"] + ["/etc/",targetdir] |
| 364 | check_call( rsynccall ) |
| 365 | def restore_etc(targetdir): |
| 366 | if not targetdir.endswith("/"): targetdir += "/" |
| 367 | rsynccall = ["rsync","-ax","--delete"] + [targetdir,"/etc/"] |
| 368 | check_call( rsynccall ) |
| 369 | def remove_backup(targetdir): |
| 370 | check_call( ["rm","-rf",targetdir] ) |
| 371 |
nothing calls this directly
no test coverage detected