andrewd18 / df-lnp-installer

An installation script for the Dwarf Fortress Lazy Newb Pack, for Linux.
Other
93 stars 35 forks source link

Auto folder detection + cleanup deleted .local/share. #30

Closed andrewd18 closed 10 years ago

andrewd18 commented 11 years ago

http://www.bay12forums.com/smf/index.php?topic=130792.msg4673081#msg4673081

Looks like the script found his old df_linux folder living in .local/share, recommended .local/share, and then upon failure, deleted .local/share assuming it was a top level df-lnp only folder. We took out this guy's keyrings, wesnoth saves, and more. :(

andrewd18 commented 11 years ago

As part of the 0.4.0-dev branch, the amount of radical FS changes we're doing is reduced. All installation steps now install to a destination directory, which gets copied (not moved) to the install dir at the end of the script. Now any deletion and recreation of a folder is to a known-good folder.

See a62efc676991bd4444d1c23f2c9d56f09c89f900

inilix commented 10 years ago

Hey so this happened to me as well, I lost hours of work by trying to install your file into my documents folder and its completely gone. including your file.

andrewd18 commented 10 years ago

Inilix, I'm very sorry that happened to you. I hope you had backups. :(

Pushing this and the other 0.4.0 dev changes out so hopefully this doesn't happen to anyone else.