mirror of
https://github.com/okxlin/appstore.git
synced 2026-10-05 08:00:19 +00:00
Merge pull request #4371 from wsu2059q/localApps
update scripts: erispulse 增强容器脚本兼容性 Thanks @wsu2059q for the ErisPulse script compatibility improvement. Co-authored-by: wsu2059q <wsu2059@qq.com>
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [ -n "${BASH_VERSION:-}" ]; then
|
||||
set -euo pipefail
|
||||
else
|
||||
set -eu
|
||||
fi
|
||||
mkdir -p ./data
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
#!/bin/bash
|
||||
docker-compose down --volumes
|
||||
#!/usr/bin/env bash
|
||||
if [ -n "${BASH_VERSION:-}" ]; then
|
||||
set -euo pipefail
|
||||
else
|
||||
set -eu
|
||||
fi
|
||||
docker compose down --volumes 2>/dev/null || echo "[ErisPulse] Failed to clean up containers/volumes. Manual check may be required."
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [ -n "${BASH_VERSION:-}" ]; then
|
||||
set -euo pipefail
|
||||
else
|
||||
set -eu
|
||||
fi
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user