Mins / TuxLite

A complete LAMP and LNMP setup script for Debian or Ubuntu
http://tuxlite.com
253 stars 112 forks source link

Add option to keep original sources.list and prevent modification by Tuxlite #11

Closed codeeditor closed 11 years ago

codeeditor commented 11 years ago

Hi. I think that changing sources.list by default is not good in every scenario. It wiil be good to make sources.list modification by Tuxlite script only optional. Tuxlite installation removing and changing all sources.list content. For example there is no need to change default repo on Amazon Ec2 Ubuntu Instances. How to prevent this change during T installation? Cheers

Mins commented 11 years ago

This seems like a good idea. I'm aware that some hosting providers use non official repositories for their OS templates. E.g. to provide a fast local mirror of the official Debian/Ubuntu repos.

However, this feature will probably be implemented after Debian 7 is released. Modification of the sources.list is currently required to add the DotDeb repository for installing the PHP5-FPM packages. It will no longer be required in Debian 7.

wizonesolutions commented 11 years ago

You could add additional sources under /etc/apt/sources.list.d as distinct files.

Mins commented 11 years ago

There is now an option in options.conf to stop the reconfiguration of sources.list. Thanks again for reporting the bug!