Przeglądaj źródła

Update configure-linux

Make shebang more portable, capitalized X in Xdebug.
Mark Shust 1 rok temu
rodzic
commit
3313f67d7e
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      compose/bin/configure-linux

+ 2 - 2
compose/bin/configure-linux

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Check if the script is running on Linux
 if [[ "$OSTYPE" == "linux-gnu"* ]]; then
@@ -15,7 +15,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
     fi
 
     # Ask the user whether to execute the iptables command
-    read -r -p "Do you want to open port 9003 for xdebug? (y/n): " choice
+    read -r -p "Do you want to open port 9003 for Xdebug? (y/n): " choice
     if [ "$choice" == "y" ]; then
         sudo iptables -A INPUT -p tcp --dport 9003 -j ACCEPT
         echo "Port 9003 has been opened for xdebug."