Skip to content

Commit 231d234

Browse files
committed
Script: modify log
1 parent 1025e40 commit 231d234

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Script/common.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ package_install() {
284284
create_debian_folder() {
285285
local repo_root=$1
286286
if [ ! -d "$repo_root/debian" ]; then
287-
echo "Create $repo_root/debian ......"
287+
echo_status "Create $repo_root/debian ......"
288288
ln -s $repo_root/Package/debian $repo_root/debian
289289

290290
if [ ! -f "$repo_root/debian/control" ]; then
@@ -322,7 +322,7 @@ install_debian_depend() {
322322
local repo_root=$1
323323
create_debian_folder $repo_root
324324
if [ -f "$repo_root/debian/control" ]; then
325-
echo "Install deb depends ......"
325+
echo_status "Install deb depends ......"
326326
pushd $repo_root
327327
# 安装编译依赖到系统中
328328
apt-get build-dep -y .
@@ -406,11 +406,11 @@ install_gnu_getopt() {
406406

407407
# macOS 设置函数
408408
setup_macos() {
409-
echo "Setting up macOS environment..."
409+
echo_status "Setting up macOS environment..."
410410

411411
# 检查是否安装了 Homebrew
412412
if ! command -v brew >/dev/null 2>&1; then
413-
echo "Installing Homebrew..."
413+
echo_status "Installing Homebrew..."
414414
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
415415
fi
416416

0 commit comments

Comments
 (0)