Browse Source

Update warning message

Bohan Yang 4 years ago
parent
commit
21339602d2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      debi.sh

+ 2 - 2
debi.sh

@@ -142,7 +142,7 @@ has_cloud_kernel() {
     esac
     esac
 
 
     local tmp; tmp=''; [ "$bpo_kernel" = true ] && tmp='-backports'
     local tmp; tmp=''; [ "$bpo_kernel" = true ] && tmp='-backports'
-    echo "Warning: No cloud kernel is available for $architecture/$suite$tmp.\n\n...Continuing with the default." 1>&2
+    echo "\nWarning: No cloud kernel is available for $architecture/$suite$tmp.\nContinuing with the default..." 1>&2
     sleep 5
     sleep 5
 
 
     return 1
     return 1
@@ -153,7 +153,7 @@ has_backports() {
         stretch|oldstable|buster|stable|bullseye|testing) return
         stretch|oldstable|buster|stable|bullseye|testing) return
     esac
     esac
 
 
-    echo "Warning: No backports kernel is available for $suite.\n\n...Continuing with the default." 1>&2
+    echo "\nWarning: No backports kernel is available for $suite.\nContinuing with the default..." 1>&2
     sleep 5
     sleep 5
 
 
     return 1
     return 1