2 # Call the post-install scripts
3 # Distro packages will usually call each post-install script directly
4 # Scripts is "idempotent", aka can safely be run multiple times (Puppet slang)
6 source_path=$(forge_get_config source_path)
9 # TODO: make this a configuration option, or ditch the user
10 # TODO: move me out of this script
11 #data_path=$(forge_get_config data_path)
13 #if ! getent passwd $user >/dev/null; then useradd $user -s /bin/false -d $data_path; fi
15 # Post-install .ini configuration
16 $source_path/post-install.d/ini.sh
19 $source_path/post-install.d/db.sh
22 $source_path/post-install.d/httpd-configure.sh