Skip to content

Commit

Permalink
fix: ensure preferences.d directory exists in created APT dirs (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
Perfect5th authored Aug 20, 2024
1 parent 22704f2 commit a4de0b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions landscape/lib/apt/package/facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def __init__(self, root=None):
def _ensure_dir_structure(self):
apt_dir = self._ensure_sub_dir("etc/apt")
self._ensure_sub_dir("etc/apt/sources.list.d")
self._ensure_sub_dir("etc/apt/preferences.d")
self._ensure_sub_dir("var/cache/apt/archives/partial")
self._ensure_sub_dir("var/lib/apt/lists/partial")
dpkg_dir = self._ensure_sub_dir("var/lib/dpkg")
Expand Down

0 comments on commit a4de0b0

Please sign in to comment.