Mirror von
https://github.com/rbreaves/kinto.git
synchronisiert 2025-08-13 22:29:16 +02:00
Updated linux.sh install file to accept use wget or curl
Dieser Commit ist enthalten in:
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/master/install/linux.sh)"
|
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/master/install/linux.sh)"
|
||||||
|
|
||||||
curl https://github.com/rbreaves/kinto/archive/refs/heads/master.zip -J -L -o ~/Downloads/kinto.zip
|
wget https://github.com/rbreaves/kinto/archive/refs/heads/master.zip -O ~/Downloads/kinto.zip || curl https://github.com/rbreaves/kinto/archive/refs/heads/master.zip -J -L -o ~/Downloads/kinto.zip
|
||||||
unzip ~/Downloads/kinto.zip -d ~/Downloads/
|
unzip ~/Downloads/kinto.zip -d ~/Downloads/
|
||||||
cd ~/Downloads/kinto-master/
|
cd ~/Downloads/kinto-master/
|
||||||
|
|
||||||
kintorelease=`curl -s https://api.github.com/repos/rbreaves/kinto/releases/latest | awk -F'tag_name": ' '{if ($2) print $2}' | tr -d \",`
|
kintorelease=`wget -qO- https://api.github.com/repos/rbreaves/kinto/releases/latest | awk -F'tag_name": ' '{if ($2) print $2}' | tr -d \", || curl -s https://api.github.com/repos/rbreaves/kinto/releases/latest | awk -F'tag_name": ' '{if ($2) print $2}' | tr -d \",`
|
||||||
kintohash=`unzip -z ~/Downloads/kinto.zip | tail -n1`
|
kintohash=`unzip -z ~/Downloads/kinto.zip | tail -n1`
|
||||||
kintoshort=${kintohash::7}
|
kintoshort=${kintohash::7}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren