Skip to content

Commit

Permalink
Quick small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
XternA committed Sep 3, 2024
1 parent 0d803cd commit e094a42
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/app-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ write_entry() {
else
if [ $is_new_app = true ]; then
echo "" >> "$ENV_FILE"
unset is_new_app
is_new_app=false
fi
echo "$entry_name=$input" >> "$ENV_FILE"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LIMIT_TYPE="low"
sh scripts/prerequisite.sh

if [ ! -f "$ENV_SYSTEM_FILE" ]; then
$ARCH > /dev/null 2>&1
$SYS_INFO > /dev/null 2>&1
echo >> "$ENV_SYSTEM_FILE"

sh scripts/set-limit.sh "$LIMIT_TYPE" > /dev/null 2>&1
Expand Down
2 changes: 1 addition & 1 deletion scripts/shared-component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export ENV_DEPLOY_FILE="$ROOT_DIR/.env.deploy"
export JSON_FILE="$ROOT_DIR/apps.json"

# Declared util component ----------------
export ARCH="sh scripts/arch.sh"
export SYS_INFO="sh scripts/arch.sh"
export CLEANUP="sh scripts/cleanup.sh"
export APP_SELECTION="sh scripts/app-selection.sh"
export APP_CONFIG="sh scripts/app-config.sh"
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
. scripts/shared-component.sh
sh scripts/init.sh

SYS_INFO=$($ARCH)
SYS_INFO=$($SYS_INFO)
STATS="$(sh scripts/limits.sh "$($SET_LIMIT | awk '{print $NF}')")"

COMPOSE="$(pwd)/compose"
Expand Down

0 comments on commit e094a42

Please sign in to comment.