Skip to content

Commit 9885ad0

Browse files
authored
Updates
1 parent cf4e364 commit 9885ad0

8 files changed

Lines changed: 27 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Changes are organized by date, with the most recent changes listed first.
1818
- Error handling for API failures with user-friendly messages
1919
- Fetches data directly from external APIs with proper CORS handling
2020

21-
2221
## 2025-11-10
2322

2423
### 🎨 UI/UX IMPROVEMENTS

scripts/install/enginescript-install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
# License: GPL v3.0
99
#----------------------------------------------------------------------------
1010

11+
# Exit immediately if a command exits with a non-zero status
12+
set -e
13+
14+
# Trap errors and print the line number
15+
trap 'echo "Error occurred at line $LINENO. Exiting."; exit 1' ERR
16+
1117
# Check current user's ID. If user is not 0 (root), exit.
1218
if [[ "${EUID}" -ne 0 ]];
1319
then

scripts/install/mariadb/mariadb-install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
# License: GPL v3.0
88
#----------------------------------------------------------------------------------
99

10+
# Exit immediately if a command exits with a non-zero status
11+
set -e
12+
13+
# Trap errors and print the line number
14+
trap 'echo "Error occurred at line $LINENO. Exiting."; exit 1' ERR
15+
1016
# EngineScript Variables
1117
source /usr/local/bin/enginescript/enginescript-variables.txt
1218
source /home/EngineScript/enginescript-install-options.txt

scripts/install/nginx/nginx-install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
# License: GPL v3.0
88
#----------------------------------------------------------------------------------
99

10+
# Exit immediately if a command exits with a non-zero status
11+
set -e
12+
13+
# Trap errors and print the line number
14+
trap 'echo "Error occurred at line $LINENO. Exiting."; exit 1' ERR
15+
1016
# EngineScript Variables
1117
source /usr/local/bin/enginescript/enginescript-variables.txt
1218
source /home/EngineScript/enginescript-install-options.txt

scripts/install/php/php-install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
# License: GPL v3.0
88
#----------------------------------------------------------------------------------
99

10+
# Exit immediately if a command exits with a non-zero status
11+
set -e
12+
13+
# Trap errors and print the line number
14+
trap 'echo "Error occurred at line $LINENO. Exiting."; exit 1' ERR
15+
1016
# EngineScript Variables
1117
source /usr/local/bin/enginescript/enginescript-variables.txt
1218
source /home/EngineScript/enginescript-install-options.txt

scripts/update/mariadb-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ source /usr/local/bin/enginescript/scripts/functions/shared/enginescript-common.
1919
# Start Main Script
2020

2121
# Prompt for EngineScript Update
22-
if prompt_yes_no "Do you want to update EngineScript before continuing? This will ensure you have the latest core scripts and variables."; then
22+
if prompt_yes_no "Do you want to update EngineScript before continuing?\nThis will ensure you have the latest core scripts and variables."; then
2323
/usr/local/bin/enginescript/scripts/update/enginescript-update.sh 2>> /tmp/enginescript_install_errors.log
2424
else
2525
echo "Skipping EngineScript update."

scripts/update/nginx-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ source /usr/local/bin/enginescript/scripts/functions/shared/enginescript-common.
1919
# Start Main Script
2020

2121
# Prompt for EngineScript Update
22-
if prompt_yes_no "Do you want to update EngineScript before continuing? This will ensure you have the latest core scripts and variables."; then
22+
if prompt_yes_no "Do you want to update EngineScript before continuing?\nThis will ensure you have the latest core scripts and variables."; then
2323
/usr/local/bin/enginescript/scripts/update/enginescript-update.sh 2>> /tmp/enginescript_install_errors.log
2424
else
2525
echo "Skipping EngineScript update."

scripts/update/php-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ source /usr/local/bin/enginescript/scripts/functions/shared/enginescript-common.
1919
# Start Main Script
2020

2121
# Prompt for EngineScript Update
22-
if prompt_yes_no "Do you want to update EngineScript before continuing? This will ensure you have the latest core scripts and variables."; then
22+
if prompt_yes_no "Do you want to update EngineScript before continuing?\nThis will ensure you have the latest core scripts and variables."; then
2323
/usr/local/bin/enginescript/scripts/update/enginescript-update.sh 2>> /tmp/enginescript_install_errors.log
2424
else
2525
echo "Skipping EngineScript update."

0 commit comments

Comments
 (0)