瀏覽代碼

Formatting

bryan 3 年之前
父節點
當前提交
00b286acb3
共有 1 個文件被更改,包括 2 次插入8 次删除
  1. 2 8
      installJRMC

+ 2 - 8
installJRMC

@@ -230,6 +230,8 @@ parseInput() {
         err "Incorrect options provided"
         printHelp && exit 1
     fi
+
+    ! debug && echo "Use --debug for verbose output."
 }
 
 
@@ -378,14 +380,6 @@ addRepo() {
 installMCFromRepo() {
     debug "Running: ${FUNCNAME[0]}"
 
-    echo "Installing JRiver Media Center $MCVERSION from repository."
-    echo "Future updates will be handled by your package manager."
-
-    if ! debug; then
-        echo "This may take a few minutes to complete."
-        echo "Use --debug for verbose output."
-    fi
-
     addRepo
 
     # Update package list