瀏覽代碼

move functions.sh file to subfolder utils

blezz-tech 1 天之前
父節點
當前提交
71bfc0cb5b
共有 2 個文件被更改,包括 3 次插入3 次删除
  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}"
 }
+