Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 9072d7cdf7504ae4e4887b69b0b846d2 > files > 1

ka-deploy-0.92-12mdk.src.rpm

--- scripts/ka-d.sh	2005-03-31 10:55:58.000000000 +0200
+++ scripts/ka-d.sh.patched	2005-03-31 10:56:24.000000000 +0200
@@ -197,15 +197,6 @@
 
 
 	# delete all existing partitions
-	add_line d
-	add_line 1
-	add_line d
-	add_line 2
-	add_line d
-	add_line 3
-	add_line d
-	add_line 4
-
 
 	num_line=0
 	num_prim=0
@@ -270,7 +261,9 @@
 
 			# t = change partition type
 			add_line t
-			add_line $this_part
+			if [ "$this_part" != "1" ]; then
+				add_line $this_part
+			fi
 			add_line $numtype
 			say "    Added partition $this_part : type $numtype"
 		fi