Skip to content

Commit

Permalink
small fix to yum repo restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
movitto committed Dec 11, 2011
1 parent 1b25be5 commit 9abf992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/backends/repos/syum.py
Expand Up @@ -39,7 +39,7 @@ def restore(self, basedir):
return

# first restore yum configuration
SFile("/etc/yum.conf").copy_to(self.fs_root, path_prefix=basedir)
SFile("etc/yum.conf").copy_to(self.fs_root, path_prefix=basedir)

# then restore individual repos
for yum_repo in FileManager.get_all_files(include_dirs=[basedir + "/etc/yum.repos.d"]):
Expand Down

0 comments on commit 9abf992

Please sign in to comment.