From eafee7e164509e0cb4eeaa959dcd5f6e3ae283de Mon Sep 17 00:00:00 2001 From: Rawleenc Date: Sat, 3 May 2025 01:01:37 +0200 Subject: [PATCH] chore: remove install unstable script --- install_unstable.sh | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 install_unstable.sh diff --git a/install_unstable.sh b/install_unstable.sh deleted file mode 100755 index 93c72fb..0000000 --- a/install_unstable.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -gitea_host="git.rawleenc.dev" -project_path="rawleenc/feddy" -command_name="feddy" -completion_files_and_paths=( - "$command_name/completions.bash:/usr/share/bash-completion/completions/$command_name" - "$command_name/completions.zsh:/usr/share/zsh/site-functions/_$command_name" - "$command_name/completions.fish:/usr/share/fish/vendor_completions.d/$command_name.fish" -) - - -url=$(curl -sS https://git.rawleenc.dev/api/v1/repos/$project_path/actions/tasks | jq -r '.workflow_runs[0].url') - -curl -sS --output /tmp/$command_name.zip "$url/artifacts/$command_name" -unzip -o /tmp/$command_name.zip -d /tmp/$command_name - -chmod +x /tmp/$command_name/target/release/$command_name -sudo mv /tmp/$command_name/target/release/$command_name /usr/local/bin/$command_name - -for completion_file_and_path in "${completion_files_and_paths[@]}"; do - IFS=":" read -r completion_file completion_path <<< "$completion_file_and_path" - sudo mv "/tmp/$completion_file" "$completion_path" - sudo chmod +x "$completion_path" -done - -rm -f $download_target \ No newline at end of file