dotlocalslashbin 0.0.21__tar.gz → 0.0.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dotlocalslashbin-0.0.21 → dotlocalslashbin-0.0.22}/PKG-INFO +1 -1
- {dotlocalslashbin-0.0.21 → dotlocalslashbin-0.0.22}/src/dotlocalslashbin.py +2 -2
- {dotlocalslashbin-0.0.21 → dotlocalslashbin-0.0.22}/LICENSES/MPL-2.0.txt +0 -0
- {dotlocalslashbin-0.0.21 → dotlocalslashbin-0.0.22}/README.md +0 -0
- {dotlocalslashbin-0.0.21 → dotlocalslashbin-0.0.22}/pyproject.toml +0 -0
|
@@ -23,7 +23,7 @@ from urllib.request import urlopen
|
|
|
23
23
|
from zipfile import ZipFile
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
__version__ = "0.0.
|
|
26
|
+
__version__ = "0.0.22"
|
|
27
27
|
|
|
28
28
|
_CACHE = Path("~/.cache/dotlocalslashbin/")
|
|
29
29
|
_HOME = str(Path("~").expanduser())
|
|
@@ -185,7 +185,7 @@ def _untar(item: Item) -> None:
|
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
def _guess_action(item: Item) -> Action:
|
|
188
|
-
if item.url.endswith((".tar.gz", ".tar")):
|
|
188
|
+
if item.url.endswith((".tar.xz", ".tar.gz", ".tar")):
|
|
189
189
|
guess = Action.untar
|
|
190
190
|
elif item.url.endswith(".zip"):
|
|
191
191
|
guess = Action.unzip
|
|
File without changes
|
|
File without changes
|
|
File without changes
|