diff options
author | John D Jones III | 2015-06-16 13:58:07 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 13:58:07 -0600 |
commit | ccf008985fffdb2156104070c19c1991ab6599f0 (patch) | |
tree | b944516db786928b18589ce8dbe926e5651e9675 /kingfisher.install | |
download | aur-ccf008985fffdb2156104070c19c1991ab6599f0.tar.gz |
Initial import
Diffstat (limited to 'kingfisher.install')
-rw-r--r-- | kingfisher.install | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/kingfisher.install b/kingfisher.install new file mode 100644 index 000000000000..34af547ab34e --- /dev/null +++ b/kingfisher.install @@ -0,0 +1,34 @@ +_install_notes() { + echo + echo '---------------------------------------------------------------------------' + echo ' IMPORTANT NOTES:' + echo + echo "IMPORTANT: Now, create tables in database with /usr/share/doc/kingfisher/kingfisher.pg.sql" + echo "And edit /etc/kingfisher/kingfisher.conf and /srv/http/kingfisher/inc/config.inc.php" + echo "Init Kingfisher Daemon with: /etc/rc.d/kingfisherd start" + echo "Configure httpd.conf and php.ini with pdo" + echo "" + echo "Ex. Create Database" + echo "$su postgres" + echo "$psql" + echo "postgres=# CREATE DATABASE kingfisher;" + echo "postgres=# CREATE USER kingfisher;" + echo "postgres=# \password kingfisher;" + echo "postgres=# \i /usr/share/doc/kingfisher/kingfisher.pg.sql;" + echo "\q" + echo "---------------------------------------------------------------------------" +} + +# $1: The new package version +post_install() { + _install_notes +} + +post_upgrade() { + _install_notes +} + +pre_remove() { + killall kingfisherd +} + |