Sfoglia il codice sorgente

install script wip

Alexander Belanger 5 anni fa
parent
commit
4ab674791e
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      scripts/install.sh

+ 7 - 0
scripts/install.sh

@@ -0,0 +1,7 @@
+name=(curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
+| grep "browser_download_url.*_Linux_x86_64\.tar\.gz" \
+| cut -d ":" -f 2,3 \
+| tr -d \"
+)
+
+curl -L https://github.com/porter-dev/porter/releases/latest/download/${name} --output ${name}