blob: 62f7c5f05aee29504a9e9ab55b58939ca3148f60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
echo "-------------------------------------------------------------------------------"
echo "Run `php /usr/share/webapps/filebin/check_deps.php` to make sure all dependecies are installed."
echo ""
echo "Update 'open_basedir' in php's config to include '/tmp', '/usr/share/webapps/filebin' and '/etc/webapps/filebin' (sample php-fpm config includes that)."
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 "Run 'php /usr/share/webapps/filebin/index.php tools update_database' to initialize your database."
echo "Run 'php /usr/share/webapps/filebin/index.php user add_user' to add your first user."
echo "Additional information can be found in '/usr/share/doc/filebin'."
echo ""
echo "For nginx and php-fpm there are sample configuration files in '/usr/share/doc/filebin/examples'."
echo ""
echo "Additionally you should enable 'filebin-user-cron.timer' and 'filebin-user-cron.timer'."
echo "-------------------------------------------------------------------------------"
}
post_upgrade() {
php /usr/share/webapps/filebin/index.php tools update_database
}
|