Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: one-line install script#1924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bpmct merged 21 commits intomainfrombpmct/installscript
Jun 1, 2022
Merged
Changes from1 commit
Commits
Show all changes
21 commits
Select commitHold shift + click to select a range
006a805
feat: one-line install script
bpmctMay 31, 2022
2724aef
remove homebrew support
bpmctMay 31, 2022
f7a5ee8
remove arch linux
bpmctMay 31, 2022
c3505ed
use proper filename for packages
bpmctMay 31, 2022
5d23600
fix variable format
bpmctMay 31, 2022
936c466
fix systemd instructions
bpmctMay 31, 2022
086e30e
fixes to standalone script
bpmctMay 31, 2022
3a65b94
fix missing var bugs
bpmctMay 31, 2022
26ab867
fix standalone install
bpmctMay 31, 2022
3568085
fix for MacOS
bpmctMay 31, 2022
a022e3b
format
bpmctMay 31, 2022
038dc8c
fix armv7 assets and zips
bpmctMay 31, 2022
fa59da0
remove windows
bpmctMay 31, 2022
bec5584
update install docs
bpmctJun 1, 2022
c308d60
support external sources with shellcheck
bpmctJun 1, 2022
8989211
shfmt
bpmctJun 1, 2022
cf1912a
add external sources to GitHub action & unfold
bpmctJun 1, 2022
a611c7b
change wording
bpmctJun 1, 2022
a16a04a
first template docs
bpmctJun 1, 2022
6879752
default to /usr/local instead
bpmctJun 1, 2022
8cba04c
add option for binary name
bpmctJun 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
remove arch linux
  • Loading branch information
@bpmct
bpmct committedMay 31, 2022
commitf7a5ee8ffffc8d819abea846aa0c11b9e48eb250
18 changes: 0 additions & 18 deletionsinstall.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -234,9 +234,6 @@ main() {
# The .deb and .rpm files are pulled from GitHub.
debian) install_deb ;;
fedora | opensuse) install_rpm ;;
# Arch uses the AUR package which only supports amd64 and arm64 since it
# pulls releases from GitHub so we need to fall back to npm.
arch) install_aur ;;
# We don't have GitHub releases that work on Alpine or FreeBSD so we have no
# choice but to use npm here.
alpine) install_apk ;;
Expand DownExpand Up@@ -333,21 +330,6 @@ install_apk() {
echo_systemd_postinstall apk
}

install_aur() {
echoh "Installing latest from the AUR."
echoh

sh_c mkdir -p "$CACHE_DIR/coder-aur"
sh_c "curl -#fsSL https://aur.archlinux.org/cgit/aur.git/snapshot/coder.tar.gz | tar -xzC $CACHE_DIR/coder-aur --strip-components 1"
echo "+ cd $CACHE_DIR/coder-aur"
if [ ! "${DRY_RUN-}" ]; then
cd "$CACHE_DIR/coder-aur"
fi
sh_c makepkg -si

echo_systemd_postinstall AUR
}

install_standalone() {
echoh "Installing v$VERSION of the $ARCH release from GitHub."
echoh
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp