From f015467b1b16807193b6ddd99876f4d62c7c6230 Mon Sep 17 00:00:00 2001 From: js0ny Date: Sun, 23 Feb 2025 21:17:49 +0000 Subject: [PATCH] fix(bootstrap-linux): Fix appman setup --- bootstrap/linux/appman.bash | 8 +++++--- readme.org | 8 ++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/bootstrap/linux/appman.bash b/bootstrap/linux/appman.bash index 2ab2146..3525925 100644 --- a/bootstrap/linux/appman.bash +++ b/bootstrap/linux/appman.bash @@ -2,7 +2,9 @@ echo "[INFO] Installing AppMan" echo "[ACTION] Type [2] to install AppMan" wget -q https://raw.githubusercontent.com/ivan-hc/AM/main/AM-INSTALLER && chmod a+x ./AM-INSTALLER && ./AM-INSTALLER -if command -v appman >/dev/null 2>&1; then - appman install wezterm - appman install nvim +APPMAN_PATH="$HOME/.local/bin/appman" + +if command -v $APPMAN_PATH >/dev/null 2>&1; then + $APPMAN_PATH install wezterm + $APPMAN_PATH install nvim fi diff --git a/readme.org b/readme.org index 7247270..8748069 100644 --- a/readme.org +++ b/readme.org @@ -6,6 +6,14 @@ No rice, no Unixporn/NTporn, just a simple setup that works for me. Works for Windows, Linux and MacOS. +** Setup + +*** GNU/Linux and macOS + +#+begin_src shell +curl https://raw.githubusercontent.com/js0ny/dotfiles/refs/heads/master/bootstrap/setup.sh -o setup.sh && chmod u+x setup.sh && ./setup.sh +#+end_src + ** Structure #+begin_src shell