[Slackbuilds-users] How far should doinst.sh go?

Niels Horn niels.horn at gmail.com
Fri Oct 16 12:03:42 UTC 2009

Should the doinst.sh just do the basic, like updating the menu, check
/etc/(program) config files etc.?

Or, should it also:
- set up a MySQL database if the software needs it
- create needed users & groups
- change crontab
- etc...
(almost like a Windows installer ;) )

I know this could get tricky if the user is updating a package instead
of installing, but the script could check for previous versions if

What is the correct way: just install the basic elements and let the
user do the rest of the setting up, or do as much as possible?

Niels Horn

More information about the SlackBuilds-users mailing list