From d4268e79530b7e4b228216fefe233586edfcb575 Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Sat, 23 Apr 2022 17:53:31 +0200 Subject: [PATCH] gnomeExtensions: update-extensions.py remove debug code --- pkgs/desktops/gnome/extensions/update-extensions.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/desktops/gnome/extensions/update-extensions.py b/pkgs/desktops/gnome/extensions/update-extensions.py index f6e831c7b536..a2f42be06258 100755 --- a/pkgs/desktops/gnome/extensions/update-extensions.py +++ b/pkgs/desktops/gnome/extensions/update-extensions.py @@ -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 )