Browse Source

Fix error text in v-delete-web-php

Kristan Kenney 5 years ago
parent
commit
b704e1e18e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      bin/v-delete-web-php

+ 4 - 3
bin/v-delete-web-php

@@ -28,7 +28,8 @@ php_fpm="/etc/init.d/php$version-fpm"
 
 # Verify php version format
 if [[ ! $version =~ ^[0-9]\.[0-9]+ ]]; then
-    echo "The php version format is invalid, it should look like [0-9].[0-9]..."
+    echo "The PHP version format is invalid, it should look like [0-9].[0-9]."
+    echo "Example:  7.0, 7.4"
     exit
 fi
 
@@ -37,7 +38,7 @@ fi
 
 # Check if php version exists
 if [ ! -f "$php_fpm" ] && [ ! -f "$HESTIA/data/templates/$WEB_SYSTEM/PHP-$version.sh" ]; then
-    echo "Version is not installed..."
+    echo "ERROR: Specified PHP version is not installed."
     exit
 fi
 
@@ -77,7 +78,7 @@ echo
 
 # Check if installation was sucessfully
 if [ -f "$php_fpm" ]; then
-    echo "Uninstallation failed, please run the following command manualy for debuging:"
+    echo "ERROR: Uninstallation failed, please run the following command manually for debugging:"
     echo "apt-get purge $mph"
 fi