detached 1d03987

refactor(post-boot): remove archup-cli installation step

archup-cli will never be installed post-boot — the install model is
barebone or Dank Linux only. Remove the archup-cli.sh script, drop it
from all.sh, and remove it from the PostBootScripts slice in config.go.
commit
1d039875faa0c717a68849f5e4b60618b6c0fbac
author
brice · · 2026-03-13 06:38 UTC
parent
055de8d
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
3 files · +0 -58
M install/mandatory/post-boot/all.sh +0 -10
@@ -60,16 +60,6 @@ if [ -f /usr/local/share/archup/post-boot/ssh-keygen.sh ]; then
6060 fi
6161 fi
6262
63-# Install archup-cli from GitHub
64-if [ -f /usr/local/share/archup/post-boot/archup-cli.sh ]; then
65- echo "Installing archup-cli from GitHub..." >> "$LOG_FILE"
66- if bash /usr/local/share/archup/post-boot/archup-cli.sh >> "$LOG_FILE" 2>&1; then
67- echo "[OK] archup-cli installed successfully" >> "$LOG_FILE"
68- else
69- echo "[KO] archup-cli installation failed (non-critical)" >> "$LOG_FILE"
70- fi
71-fi
72-
7363 # Install ble.sh (Bash Line Editor)
7464 if [ -f /usr/local/share/archup/post-boot/blesh.sh ]; then
7565 echo "Installing ble.sh (Bash Line Editor)..." >> "$LOG_FILE"
@@ -60,16 +60,6 @@ if [ -f /usr/local/share/archup/post-boot/ssh-keygen.sh ]; then
60 fi60 fi
61 fi61 fi
62 62
63-# Install archup-cli from GitHub
64-if [ -f /usr/local/share/archup/post-boot/archup-cli.sh ]; then
65- echo "Installing archup-cli from GitHub..." >> "$LOG_FILE"
66- if bash /usr/local/share/archup/post-boot/archup-cli.sh >> "$LOG_FILE" 2>&1; then
67- echo "[OK] archup-cli installed successfully" >> "$LOG_FILE"
68- else
69- echo "[KO] archup-cli installation failed (non-critical)" >> "$LOG_FILE"
70- fi
71-fi
72-
73 # Install ble.sh (Bash Line Editor)63 # Install ble.sh (Bash Line Editor)
74 if [ -f /usr/local/share/archup/post-boot/blesh.sh ]; then64 if [ -f /usr/local/share/archup/post-boot/blesh.sh ]; then
75 echo "Installing ble.sh (Bash Line Editor)..." >> "$LOG_FILE"65 echo "Installing ble.sh (Bash Line Editor)..." >> "$LOG_FILE"
D install/mandatory/post-boot/archup-cli.sh +0 -47
@@ -1,47 +0,0 @@
1-#!/bin/bash
2-# Build and install archup-cli using go install
3-
4-set -e
5-
6-GITHUB_REPO="bnema/archup-cli"
7-
8-echo "=== Installing archup-cli ==="
9-
10-# Check if Go is installed
11-if ! command -v go &> /dev/null; then
12- echo "ERROR: Go is not installed. Cannot install archup-cli."
13- exit 1
14-fi
15-
16-# Get latest release tag from GitHub
17-echo "Fetching latest release from GitHub..."
18-LATEST_RELEASE=$(curl -s "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
19-
20-if [ -z "$LATEST_RELEASE" ]; then
21- echo "WARNING: No releases found, installing from main branch"
22- VERSION="@latest"
23-else
24- echo "Latest release: $LATEST_RELEASE"
25- VERSION="@${LATEST_RELEASE}"
26-fi
27-
28-# Install using go install (installs to $GOBIN or $GOPATH/bin or ~/go/bin)
29-echo "Installing archup-cli ${VERSION}..."
30-go install "github.com/${GITHUB_REPO}${VERSION}"
31-
32-# Determine where the binary was installed
33-GOBIN="${GOBIN:-$(go env GOPATH)/bin}"
34-BINARY_PATH="${GOBIN}/archup-cli"
35-
36-# Verify installation
37-if [ -x "$BINARY_PATH" ]; then
38- echo "[OK] archup-cli installed successfully"
39- echo " Location: $BINARY_PATH"
40- echo " Version: $($BINARY_PATH --version 2>/dev/null || echo 'unknown')"
41- echo ""
42- echo "To update in the future, run:"
43- echo " go install github.com/${GITHUB_REPO}@latest"
44-else
45- echo "ERROR: Installation failed"
46- exit 1
47-fi
@@ -1,47 +0,0 @@
1-#!/bin/bash
2-# Build and install archup-cli using go install
3-
4-set -e
5-
6-GITHUB_REPO="bnema/archup-cli"
7-
8-echo "=== Installing archup-cli ==="
9-
10-# Check if Go is installed
11-if ! command -v go &> /dev/null; then
12- echo "ERROR: Go is not installed. Cannot install archup-cli."
13- exit 1
14-fi
15-
16-# Get latest release tag from GitHub
17-echo "Fetching latest release from GitHub..."
18-LATEST_RELEASE=$(curl -s "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
19-
20-if [ -z "$LATEST_RELEASE" ]; then
21- echo "WARNING: No releases found, installing from main branch"
22- VERSION="@latest"
23-else
24- echo "Latest release: $LATEST_RELEASE"
25- VERSION="@${LATEST_RELEASE}"
26-fi
27-
28-# Install using go install (installs to $GOBIN or $GOPATH/bin or ~/go/bin)
29-echo "Installing archup-cli ${VERSION}..."
30-go install "github.com/${GITHUB_REPO}${VERSION}"
31-
32-# Determine where the binary was installed
33-GOBIN="${GOBIN:-$(go env GOPATH)/bin}"
34-BINARY_PATH="${GOBIN}/archup-cli"
35-
36-# Verify installation
37-if [ -x "$BINARY_PATH" ]; then
38- echo "[OK] archup-cli installed successfully"
39- echo " Location: $BINARY_PATH"
40- echo " Version: $($BINARY_PATH --version 2>/dev/null || echo 'unknown')"
41- echo ""
42- echo "To update in the future, run:"
43- echo " go install github.com/${GITHUB_REPO}@latest"
44-else
45- echo "ERROR: Installation failed"
46- exit 1
47-fi
M internal/config/config.go +0 -1
@@ -126,7 +126,6 @@ var PostBootScripts = []string{
126126 "snapper.sh",
127127 "firewalld.sh",
128128 "ssh-keygen.sh",
129- "archup-cli.sh",
130129 "blesh.sh",
131130 "cli-tools.sh",
132131 "dms-opt-in.sh",
@@ -126,7 +126,6 @@ var PostBootScripts = []string{
126 "snapper.sh",126 "snapper.sh",
127 "firewalld.sh",127 "firewalld.sh",
128 "ssh-keygen.sh",128 "ssh-keygen.sh",
129- "archup-cli.sh",
130 "blesh.sh",129 "blesh.sh",
131 "cli-tools.sh",130 "cli-tools.sh",
132 "dms-opt-in.sh",131 "dms-opt-in.sh",

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close