Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall option for install script #3

Closed
arcticicestudio opened this issue Dec 22, 2016 · 4 comments
Closed

Uninstall option for install script #3

arcticicestudio opened this issue Dec 22, 2016 · 4 comments

Comments

@arcticicestudio
Copy link
Collaborator

Implement a uninstall option to allow users to remove the local installed color theme file again including a optional name parameter for custom named theme files.
The user should be asked to confirm this process before removing the file.

@tong
Copy link

tong commented Jul 8, 2018

Wiping existing config without confirmation and warning is pretty rude and not what i expected.
This should at least be clearly visible in README.
A merge into existing config would be preferable.

@privorotskii
Copy link

Any updates here? I just tried to run install.sh and get all my local settings wiped and I had to restore all of them manually. It is really unexpected and frustrating behaviour.

@tong
Copy link

tong commented Apr 8, 2020

This should be fixed!

arcticicestudio added a commit that referenced this issue Apr 8, 2020
@TolichP [1] reported in #3 [2
`install.sh` script replaced the `config` file which led to
configuration/data loss. This was caused by the `-f` flag passed to the
`cp` command [3] which forced to override existing files.

This is a really critical bug and the the solution to provide a script
that automatically handles the simple task of copying a file has never
been a good idea at all. Therefore the script was removed and the
documentation has been adjusted to provide manual installation steps
instead like in other port projects, e.g. Nord Alacritty [4].
The manual steps are quite simple and the knowledge can be expected of
users since these are basic operations when running a Unix system.

Projects like Terminato, that require to modify the main user
configuration file instead of providing a way to load features like
themes from dedicated file, are always way harder to support as a
theme author. Anyway, there are plans to unify the installation of Nord
port projects through one universal automation tool,
but there is currently no ETA.

[1]: https://github.com/TolichP
[2]: #3 (comment)
[3]: https://github.com/arcticicestudio/nord-terminator/blob/af29e150a531f7984d362f4aa135c1bfffd13c45/install.sh#L83
[4]: https://github.com/arcticicestudio/nord-alacritty

GH-12
arcticicestudio added a commit that referenced this issue Apr 8, 2020
)

@TolichP [1] reported in #3 [2
`install.sh` script replaced the `config` file which led to
configuration/data loss. This was caused by the `-f` flag passed to the
`cp` command [3] which forced to override existing files.

This is a really critical bug and the the solution to provide a script
that automatically handles the simple task of copying a file has never
been a good idea at all. Therefore the script was removed and the
documentation has been adjusted to provide manual installation steps
instead like in other port projects, e.g. Nord Alacritty [4].
The manual steps are quite simple and the knowledge can be expected of
users since these are basic operations when running a Unix system.

Projects like Terminato, that require to modify the main user
configuration file instead of providing a way to load features like
themes from dedicated file, are always way harder to support as a
theme author. Anyway, there are plans to unify the installation of Nord
port projects through one universal automation tool,
but there is currently no ETA.

[1]: https://github.com/TolichP
[2]: #3 (comment)
[3]: https://github.com/arcticicestudio/nord-terminator/blob/af29e150a531f7984d362f4aa135c1bfffd13c45/install.sh#L83
[4]: https://github.com/arcticicestudio/nord-alacritty

Fixes GH-12
@arcticicestudio
Copy link
Collaborator Author

@TolichP Thanks a lot for the report 🙏
I'm really sorry for the data loss and hope you were able to restore the config again.

I've never really like these scripts so I've documented the bug in #12 and fixed it in #13.
This will now also make this issue as well as #4 obsolete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants