mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-26 06:48:35 -06:00
No need for version in download link
This commit is contained in:
parent
706f49a0f0
commit
73b8fcd308
5 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ version() {
|
||||||
package() {
|
package() {
|
||||||
# Pull sources
|
# Pull sources
|
||||||
echo Pulling ${name} ${version}
|
echo Pulling ${name} ${version}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${version}/${name}-${version}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}-${version}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
||||||
# Build package
|
# Build package
|
||||||
echo Creating the package
|
echo Creating the package
|
||||||
tar -xzf "${name}.tar.gz" -C .
|
tar -xzf "${name}.tar.gz" -C .
|
||||||
|
|
|
@ -20,7 +20,7 @@ version() {
|
||||||
package() {
|
package() {
|
||||||
# Pull sources
|
# Pull sources
|
||||||
echo Pulling ${name} ${version}
|
echo Pulling ${name} ${version}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${version}/fzf-${version}-linux_amd64.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/latest/download/fzf-${version}-linux_amd64.tar.gz" -o ${name}.tar.gz
|
||||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/bin/${name}-tmux" -o ${name}-tmux
|
curl -L "https://raw.githubusercontent.com/${git_repo}/master/bin/${name}-tmux" -o ${name}-tmux
|
||||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}.1" -o ${name}.1
|
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}.1" -o ${name}.1
|
||||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}-tmux.1" -o ${name}-tmux.1
|
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}-tmux.1" -o ${name}-tmux.1
|
||||||
|
|
|
@ -20,7 +20,7 @@ version() {
|
||||||
package() {
|
package() {
|
||||||
# Pull sources
|
# Pull sources
|
||||||
echo Pulling ${name} ${version}
|
echo Pulling ${name} ${version}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${version}/${name}_${version}_linux-static_${ARCH}.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}_${version}_linux-static_${ARCH}.tar.gz" -o ${name}.tar.gz
|
||||||
# Build package
|
# Build package
|
||||||
echo Creating the package
|
echo Creating the package
|
||||||
tar -xzf "${name}.tar.gz" -C .
|
tar -xzf "${name}.tar.gz" -C .
|
||||||
|
|
|
@ -20,7 +20,7 @@ version() {
|
||||||
package() {
|
package() {
|
||||||
# Pull sources
|
# Pull sources
|
||||||
echo Pulling ${name} ${version}
|
echo Pulling ${name} ${version}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${version}/${name}-linux-${ARCH}.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}-linux-${ARCH}.tar.gz" -o ${name}.tar.gz
|
||||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/${name}.1" -o ${name}.1
|
curl -L "https://raw.githubusercontent.com/${git_repo}/master/${name}.1" -o ${name}.1
|
||||||
command -v fish &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.fish" -o ${name}.fish
|
command -v fish &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.fish" -o ${name}.fish
|
||||||
command -v zsh &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.zsh" -o ${name}.zsh
|
command -v zsh &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.zsh" -o ${name}.zsh
|
||||||
|
|
|
@ -20,7 +20,7 @@ version() {
|
||||||
package() {
|
package() {
|
||||||
# Pull sources
|
# Pull sources
|
||||||
echo Pulling ${name} ${version}
|
echo Pulling ${name} ${version}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${version}/${name}-${version}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}-${version}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
||||||
# Build package
|
# Build package
|
||||||
echo Creating the package
|
echo Creating the package
|
||||||
tar -xzf "${name}.tar.gz" -C .
|
tar -xzf "${name}.tar.gz" -C .
|
||||||
|
|
Loading…
Reference in a new issue