debian, pacman: incorrect detection of config files.
[febootstrap.git] / febootstrap_debian.ml
index c0cfbac..83c6c1a 100644 (file)
@@ -107,7 +107,7 @@ let debian_list_files pkg =
       (* No per-file metadata like in RPM, but we can synthesize it
        * from the path.
        *)
-      let config = statbuf.st_kind = S_REG && string_prefix path "/etc/" in
+      let config = statbuf.st_kind = S_REG && string_prefix "/etc/" path in
 
       let mode = statbuf.st_perm in