diff --git a/nbdev/quarto.py b/nbdev/quarto.py index 3986b04e5..f55fa878b 100644 --- a/nbdev/quarto.py +++ b/nbdev/quarto.py @@ -30,11 +30,11 @@ def _sprun(cmd): def _install_linux(): system(f'curl -LO {BASE_QUARTO_URL}quarto-linux-amd64.deb') - system('sudo dpkg -i *64.deb && rm *64.deb') + system('sudo dpkg -i quarto-linux-amd64.deb && rm quarto-linux-amd64.deb') def _install_mac(): system(f'curl -LO {BASE_QUARTO_URL}quarto-macos.pkg') - system('sudo installer -pkg quarto-macos.pkg -target /') + system('sudo installer -pkg quarto-macos.pkg -target / && rm quarto-macos.pkg') @call_parse def install_quarto(): diff --git a/nbs/api/quarto.ipynb b/nbs/api/quarto.ipynb index 191138ac1..f41812b9c 100644 --- a/nbs/api/quarto.ipynb +++ b/nbs/api/quarto.ipynb @@ -89,11 +89,11 @@ "\n", "def _install_linux():\n", " system(f'curl -LO {BASE_QUARTO_URL}quarto-linux-amd64.deb')\n", - " system('sudo dpkg -i *64.deb && rm *64.deb')\n", + " system('sudo dpkg -i quarto-linux-amd64.deb && rm quarto-linux-amd64.deb')\n", " \n", "def _install_mac():\n", " system(f'curl -LO {BASE_QUARTO_URL}quarto-macos.pkg')\n", - " system('sudo installer -pkg quarto-macos.pkg -target /')\n", + " system('sudo installer -pkg quarto-macos.pkg -target / && rm quarto-macos.pkg')\n", "\n", "@call_parse\n", "def install_quarto():\n",