-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into make_intall_on_fedora_work_in_enforcing_mode
- Loading branch information
Showing
12 changed files
with
825 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/master/install/linux.sh)" | ||
|
||
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/ | ||
cd ~/Downloads/kinto-master/ | ||
|
||
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` | ||
kintoshort=${kintohash::7} | ||
|
||
echo "$kintorelease" "build" "$kintoshort" > ./dl_version | ||
|
||
if [ $# -eq 0 ];then | ||
echo "Installing Kinto..." | ||
./setup.py | ||
elif [ $1 == "-r" ];then | ||
echo "Uninstall Kinto..." | ||
./setup.py -r | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Invoke-WebRequest -Uri https://github.com/rbreaves/kinto/archive/refs/heads/master.zip -OutFile $env:USERPROFILE\Downloads\kinto.zip | ||
Expand-Archive -LiteralPath "$env:USERPROFILE\Downloads\kinto.zip" -DestinationPath "$env:USERPROFILE\Downloads" -Force | ||
Set-ExecutionPolicy Bypass -Scope Process -Force | ||
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | ||
choco install -y python3 | ||
cd "$env:USERPROFILE\Downloads\kinto-master" | ||
py .\setup.py |
Oops, something went wrong.