Browse Source

fix: only add backports if has backports

Anonymous 7 months ago
parent
commit
2c028de296
1 changed files with 1 additions and 1 deletions
  1. 1 1
      debi.sh

+ 1 - 1
debi.sh

@@ -594,7 +594,7 @@ apt_components=main
 [ "$apt_non_free_firmware" = true ] && apt_components="$apt_components non-free-firmware"
 
 apt_services=updates
-[ "$apt_backports" = true ] && apt_services="$apt_services, backports"
+[ "$apt_backports" = true ] && has_backports && apt_services="$apt_services, backports"
 
 installer_directory="/boot/debian-$suite"