Bumblebee-Project/Bumblebee — comment on commit 98a3bb17be30855d5847ba75f0bda0a913cfd025
File:  line 0
By Ximi1970:

Hi Peter,

> Date: Tue, 18 Oct 2011 09:54:38 -0700
> From: reply@reply.github.com
> To: ximi_github@hotmail.com
> Subject: Re: [Bumblebee] Do not remove /etc/bumblebee (98a3bb1)
>
> Why did you disable this behavior? It'll cause upgrades from the MrMEEE code to fail because he used it for storing a version number (file). Previously (before merging opensuse-dev into develop), the line was:
> rm -f /etc/bumblebee
> This would keep directories, but remove the version file.

No it does not. It will just generate an error:

rm: cannot remove `test': Is a directory

and does not delete anything.
So we could change it to:

rm -f /etc/bumblebee/*

If you want keep the directory and just delete the contents,
or:

rm -rf /etc/bumblebee

To delete it all...In both cases something could be delete the user added, which is a bad thing.

Maybe we can just delete the version file ?
I do not know what is the best solution here.

Regards Maxime

>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/Bumblebee-Project/Bumblebee/commit/98a3bb17be30855d5847ba75f0bda0a913cfd025#commitcomment-658813