Compare commits
3 commits
7c036ccd7f
...
26bc0cba83
| Author | SHA1 | Date | |
|---|---|---|---|
| 26bc0cba83 | |||
| 445e653d22 | |||
| aa92f5c88a |
4 changed files with 8 additions and 6 deletions
|
|
@ -16,6 +16,7 @@ done
|
|||
|
||||
PYLSP_PLUGINS=(
|
||||
# keep-sorted start
|
||||
--with 'boto3-stubs[full]'
|
||||
--with fs
|
||||
--with podman
|
||||
--with pydantic
|
||||
|
|
|
|||
|
|
@ -3,9 +3,10 @@
|
|||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
buildah_containers="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)"
|
||||
if [ -z "${buildah_containers}" ]; then
|
||||
containers_raw="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)"
|
||||
if [ -z "${containers_raw}" ]; then
|
||||
echo "No containers to remove"
|
||||
else
|
||||
buildah rm "${buildah_containers}"
|
||||
readarray -t containers <<< "${containers_raw}"
|
||||
buildah rm "${containers[@]}"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ IFS=$'\n\t'
|
|||
REPO_DIR="$(systemd-path user-state-private)"/agentbox
|
||||
if [ -d "${REPO_DIR}" ]
|
||||
then
|
||||
git -C "${REPO_DIR}" pull
|
||||
git -C "${REPO_DIR}" pull || true
|
||||
else
|
||||
cd "$(systemd-path user-state-private)" || exit
|
||||
git clone https://github.com/libohad-dev/agentbox
|
||||
|
|
@ -17,7 +17,7 @@ fi
|
|||
REPO_DIR="$(systemd-path user-state-private)"/git-sync
|
||||
if [ -d "${REPO_DIR}" ]
|
||||
then
|
||||
git -C "${REPO_DIR}" pull
|
||||
git -C "${REPO_DIR}" pull || true
|
||||
else
|
||||
cd "$(systemd-path user-state-private)" || exit
|
||||
git clone https://github.com/simonthum/git-sync
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ fi
|
|||
editor_cmd="$(default_editor)"
|
||||
echo "Editing using the command \"${editor_cmd}\""
|
||||
|
||||
IFS=' ' read -r -a editor <<< "${editor_cmd}"
|
||||
IFS=' ' readarray -t editor <<< "${editor_cmd}"
|
||||
|
||||
orig_file="$1"
|
||||
tempfile="$(mktemp)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue