mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-24 16:51:34 +03:00
FIX: Add 'exit' statement to install.sh archlinux steps
This commit is contained in:
parent
cca980d8e0
commit
b911df7267
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
@ -5,6 +5,9 @@ on:
|
||||
- '**.md'
|
||||
- 'sq.json' # This is updated by scoop; no need to run a new build
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.19.3
|
||||
GORELEASER_VERSION: 1.13.1
|
||||
|
@ -134,13 +134,13 @@ if command_exists pacman; then
|
||||
if command_exists yay; then
|
||||
echo "Installing via yay..."
|
||||
yay -S --noconfirm sq-bin
|
||||
exit 0
|
||||
exit
|
||||
fi
|
||||
|
||||
if command_exists paru; then
|
||||
echo "Installing via paru..."
|
||||
paru -S --noconfirm sq-bin
|
||||
exit 0
|
||||
exit
|
||||
fi
|
||||
|
||||
# Fall back to pacman
|
||||
@ -151,6 +151,7 @@ if command_exists pacman; then
|
||||
cd sq-bin
|
||||
makepkg -sri --noconfirm
|
||||
rm -rf /tmp/sq-bin*
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
# ".completions.sh regenerates completions to "./completions".
|
||||
|
||||
set +e
|
||||
brew uninstall neilotoole/sq/sq
|
||||
|
||||
if [[ $(which sq) ]]; then
|
||||
echo "sq is still present"
|
||||
rm $(which sq)
|
||||
fi
|
||||
|
||||
set -e
|
||||
brew install neilotoole/sq/sq
|
||||
|
||||
# TODO: Test the version
|
Loading…
Reference in New Issue
Block a user