Package: disk-manager
Version: 1.0.1-2
Severity: normal

I changed that I think be small errors. The sorting being already made by 
origin but not it is needed.
I attach a file with the differences.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (980, 'testing'), (965, 'testing-proposed-updates'), (960, 
'testing'), (940, 'stable'), (920, 'stable'), (80, 'unstable'), (60, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages disk-manager depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-glade2                 2.14.1-1   GTK+ bindings: Glade support
ii  python-gtk2                   2.14.1-1   Python bindings for the GTK+ widge
ii  python-support                0.8.7      automated rebuilding support for P
ii  python2.5                     2.5.4-1    An interactive high-level object-o

Versions of packages disk-manager recommends:
ii  dmsetup                     2:1.02.30-3  The Linux Kernel Device Mapper use
ii  module-init-tools           3.7-pre9-1   tools for managing Linux kernel mo
ii  ntfs-3g                     1:2009.2.1-1 read-write NTFS driver for FUSE

disk-manager suggests no packages.

-- no debconf information
diff -u -r DiskManager.orig_debian/Fstab/FstabData.py DiskManager.mod_ghent/Fstab/FstabData.py
--- DiskManager.orig_debian/Fstab/FstabData.py	2008-06-23 18:40:40.000000000 +0200
+++ DiskManager.mod_ghent/Fstab/FstabData.py	2009-04-20 10:58:04.000000000 +0200
@@ -55,7 +55,7 @@
 
 
 # Write entry in MntFile in this order :
-path_order = ("/", "/usr", "/home")
+path_order = ("/", "/usr", "/opt", "/var", "/home")
 
 # System partitions :
 system = { "exact"  : ("/", "/home", "/tmp"),
diff -u -r DiskManager.orig_debian/Fstab/Fstab.py DiskManager.mod_ghent/Fstab/Fstab.py
--- DiskManager.orig_debian/Fstab/Fstab.py	2009-04-20 10:55:14.000000000 +0200
+++ DiskManager.mod_ghent/Fstab/Fstab.py	2009-04-20 11:04:50.000000000 +0200
@@ -466,11 +466,11 @@
         try :
             ix =  list(FstabData.path_order).index(x)
         except ValueError :
-            ix = 0
+            ix = len(FstabData.path_order)
         try :
-            iy =  list(FstabData.path_order).index(x)
+            iy =  list(FstabData.path_order).index(y)
         except ValueError :
-            iy = 0
+            iy = len(FstabData.path_order)
         if ix > iy :
             return 1
         if ix < iy :

Reply via email to