gnomeExtensions: update-extensions.py remove debug code

This commit is contained in:
Ryan Horiguchi 2022-04-23 17:53:31 +02:00
parent d13f1f869f
commit d4268e7953
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A

View file

@ -51,14 +51,7 @@ def fetch_extension_data(uuid: str, version: str) -> Tuple[str, str]:
if url == 'https://extensions.gnome.org/extension-data/VitalsCoreCoding.com.v53.shell-extension.zip':
url = 'https://extensions.gnome.org/extension-data/VitalsCoreCoding.com.v53.shell-extension_v1BI2FB.zip'
# Yes, we download that file two times:
# The first time is for the maintainer, so they may have a personal backup to fix potential issues
# subprocess.run(
# ["wget", url], capture_output=True, text=True
# )
# The second time, we add the file to store
# Download extension and add the zip content to nix-store
process = subprocess.run(
["nix-prefetch-url", "--unpack", "--print-path", url], capture_output=True, text=True
)