Skip to content

Commit b704e1e

Browse files
author
Kristan Kenney
committed
Fix error text in v-delete-web-php
1 parent 0fe2480 commit b704e1e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin/v-delete-web-php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ php_fpm="/etc/init.d/php$version-fpm"
2828

2929
# Verify php version format
3030
if [[ ! $version =~ ^[0-9]\.[0-9]+ ]]; then
31-
echo "The php version format is invalid, it should look like [0-9].[0-9]..."
31+
echo "The PHP version format is invalid, it should look like [0-9].[0-9]."
32+
echo "Example: 7.0, 7.4"
3233
exit
3334
fi
3435

@@ -37,7 +38,7 @@ fi
3738

3839
# Check if php version exists
3940
if [ ! -f "$php_fpm" ] && [ ! -f "$HESTIA/data/templates/$WEB_SYSTEM/PHP-$version.sh" ]; then
40-
echo "Version is not installed..."
41+
echo "ERROR: Specified PHP version is not installed."
4142
exit
4243
fi
4344

@@ -77,7 +78,7 @@ echo
7778

7879
# Check if installation was sucessfully
7980
if [ -f "$php_fpm" ]; then
80-
echo "Uninstallation failed, please run the following command manualy for debuging:"
81+
echo "ERROR: Uninstallation failed, please run the following command manually for debugging:"
8182
echo "apt-get purge $mph"
8283
fi
8384

0 commit comments

Comments
 (0)