We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07f5589 commit 779e6c2Copy full SHA for 779e6c2
src/Core/Snapshot.vala
@@ -226,8 +226,10 @@ public class Snapshot : GLib.Object{
226
app_version = json_get_string(config,"app-version","");
227
file_count = (int64) json_get_uint64(config,"file_count",file_count);
228
live = json_get_bool(config,"live",false);
229
+ string type = config.get_string_member_with_default("type", "rsync");
230
- distro = LinuxDistro.get_dist_info(path_combine(path, "localhost"));
231
+ string extension = (type == "btrfs") ? "@" : "localhost";
232
+ distro = LinuxDistro.get_dist_info(path_combine(path, extension));
233
234
//log_debug("repo.mount_path: %s".printf(repo.mount_path));
235
0 commit comments