AlternC / AlternC

AlternC Hosting Panel
https://alternc.com/Home-fr
GNU General Public License v2.0
107 stars 68 forks source link

local.sh vs debconf #556

Open camlafit opened 9 months ago

camlafit commented 9 months ago

Hello

We have some trouble about local.sh. During apt install we store main variable in debconf and save only a subpart in local.sh

Actually we have two official source to manage AlternC variable. Between users witch update only local.sh and lost some configuration after an dpkg-reconfigure, variable missing in local.sh as #310 we have different trouble about this.

As we have choice to be only debian compliant, I propose to remove local.sh and use only debconf as unique source.

camlafit commented 8 months ago

Hello

to complete in debian ecosystemn, if a packages want provide a prompt exchange, debconf is recommended https://www.debian.org/doc/debian-policy/ch-binary.html#prompting-in-maintainer-scripts