Skip to content

Commit

Permalink
fix: apt-get lists restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Apr 22, 2023
1 parent 6505359 commit 59675f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nanolayer/installers/apt_get/apt_get_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ def install(
if preserve_apt_list:
# Note: not using dir/* syntax as that doesnt work on 'sh' shell (alpine)
Invoker.invoke(
command=f"rm -r /var/lib/apt/lists && mv {tempdir} /var/lib/apt/lists"
command=f"rm -r /var/lib/apt/lists && mv {tempdir}/lists /var/lib/apt/lists"
)
2 changes: 1 addition & 1 deletion tests/installers/gh_release/test_gh_release_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ def test_gh_release_install(
test_command=full_test_command,
image=image,
docker_platform=docker_platform,
nanolayer_version="v0.4.0",
nanolayer_version="v0.4.25",
)

0 comments on commit 59675f8

Please sign in to comment.