simonclausen / dnscrypt-autoinstall

Automatic installation and configuration of DNSCrypt (on Debian + Redhat like systems). This script will install DNSCrypt and configure it to start on boot and use an optional dnscrypt service.
Other
224 stars 73 forks source link

Added the option to install suggested version of libsodium even though #32

Closed toodv93 closed 10 years ago

toodv93 commented 10 years ago

libsodium is already installed.

simonclausen commented 10 years ago

"Guess we should uninstall libsodium first, but how?" - I guess this is not fully functional? I do not currently have access to anything I can run tests on.

toodv93 commented 10 years ago

Got following answer from libsodium developer Frank Denis:

"You can use “make uninstall” to remove an existing installation. But it doesn’t put files all over the place: only the library itself, and compilation headers, in their own dedicated folder. So you can go the quick and dirty way: rm -fr /usr/local/include/sodium and then make install Thanks! -Frank."

So I think we could improve and do "rm -fr /usr/local/include/sodium" if 'yes' to update libsodium. But I think this only make sense if the script actually tries to install the latest version.