Add ability to dynamically determine current state
Discussion:
Ikey Doherty: Moss needs to dynamically determine the current state
Ikey Doherty: Should NOT be recorded in the db
Ikey Doherty: Read the usr link
Ikey Doherty: Otherwise rollback won't update moss state
Ikey Doherty: Shown up on streams a few times
sunnyflunk: Yeah, that's a biggie
sunnyflunk: rolled back the symlink, updated a package and bam, right back to the borked packages with the one change
Ikey Doherty: Aye
Ikey Doherty: I think, readlink, basename, should be enough
Ikey Doherty: I.e. 0 1 2
Edited by Rune Morling