summarylogtreecommitdiffstats
path: root/flexibee.install
blob: 15f09b7f9fb718769b4dd347787ab6c7ac0f6393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
post_install() {

  echo -n "Updating font cache... "
  fc-cache -fs >/dev/null
  mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
  mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
  echo "done"
  
  echo -n "Updating desktop database... "
  update-desktop-database -q
  update-mime-database usr/share/mime
  echo "done"

  echo "If you use this package for server instalation, then you must :"
  echo "    1) Install this packages :"
  echo "       postgresql"
  echo "       postgresql-libs"
  echo "    2) Create system user, database role, change database port, change permissions... :"
  echo "       /etc/rc.d/flexibee install"
  echo "    3) Run flexibee server :"
  echo "       /etc/rc.d/flexibee start"
 
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}