Skip to content

Commit

Permalink
doas not configured on CI, ubuntu refuses to run when in /usr/local
Browse files Browse the repository at this point in the history
  • Loading branch information
map588 committed Jan 28, 2025
1 parent 39c2f88 commit 709df57
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ compile() {

if [ "$(uname)" = "OpenBSD" ]
then
#It will get here but doas is not configured on testing
doas cmake --install .
else
if can_use_sudo
Expand Down Expand Up @@ -318,7 +319,7 @@ download_link="skip"
case "$(uname)" in
"Linux")
case "$(uname -m)" in
"x86_64" | "amd64" ) download_link="https://github.com/Slackadays/Clipboard/releases/download/0.10.0/clipboard-linux-amd64.zip" ;;
"amd64" ) download_link="https://github.com/Slackadays/Clipboard/releases/download/0.10.0/clipboard-linux-amd64.zip" ;;
"aarch64") download_link="https://github.com/Slackadays/Clipboard/releases/download/0.10.0/clipboard-linux-arm64.zip" ;;
"riscv64") download_link="https://github.com/Slackadays/Clipboard/releases/download/0.10.0/clipboard-linux-riscv64.zip" ;;
"i386") download_link="https://github.com/Slackadays/Clipboard/releases/download/0.10.0/clipboard-linux-i386.zip" ;;
Expand Down Expand Up @@ -351,8 +352,6 @@ case "$(uname)" in
;;
esac
;;
"OpenBSD") doas pkg_add git
;;
*)
print_error "No supported release download available for $(uname):$(uname -m)"
print_success "Attempting compile with CMake..."
Expand Down

0 comments on commit 709df57

Please sign in to comment.