Quellcode durchsuchen

move functions.sh file to subfolder utils

blezz-tech vor 1 Tag
Ursprung
Commit
71bfc0cb5b
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      bin/install.sh
  2. 2 2
      bin/utils/functions.sh

+ 1 - 1
bin/install.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source bin/functions.sh
+source bin/utils/functions.sh
 
 if [ -f bin/install.cfg ]; then
     echo "File install.cfg already exists"

+ 2 - 2
bin/functions.sh → bin/utils/functions.sh

@@ -7,8 +7,7 @@ YELLOW="\e[33m"
 RESET="\e[0m"
 
 
-# Functions
-
+# Functions colors echo text
 echo_error() {
     echo -e "${RED}$1${RESET}"
 }
@@ -20,3 +19,4 @@ echo_warning() {
 echo_success() {
     echo -e "${GREEN}$1${RESET}"
 }
+