blob: 5034cf6af9d99e7d007f2180aac5d3d3208cd405 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
post_install() {
echo "-------------------------------------------------------------------------------"
echo "run check_deps.php to make sure all dependecies are installed"
echo "update 'open_basedir' in php's config to include '/tmp',
'/usr/share/webapps/filebin' and '/etc/webapps/filebin'"
echo "enable exif, phar and any of mysql, mysqli, pgsql, pdo_mysql or pdo_pgsql for database access"
echo "edit the files in '/etc/webapps/filebin'"
echo "do not edit config.php! use config-local.php to override it when needed"
echo "add '/usr/share/webapps/filebin/crontab' to the user's crontab"
echo "run 'php index.php tools update_database' to initialize your database'"
echo "run 'php index.php user add_user' to add your first user"
echo "additional information can be found in '/usr/share/webapps/filebin/INSTALL'"
echo "there is a sample nginx configuration file in '/usr/share/webapps/filebin'"
echo "-------------------------------------------------------------------------------"
}
post_upgrade() {
php /usr/share/webapps/filebin/index.php tools update_database
}
|