summarylogtreecommitdiffstats
path: root/burstcoin-wallet.install
blob: ea61b17f7f837fd5a1671fd1781e79b37e45fcb3 (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
post_install() {
  update-mime-database /usr/share/mime 1> /dev/null
  update-desktop-database -q
  xdg-icon-resource forceupdate --theme hicolor

  echo "+-------------------------------------------------------------------------------------+"
  echo "| Configuration: /opt/burstcoin-wallet/conf/brs-default.properties                    |"
  echo "| By default, burst wallet uses H2 DB /opt/burstcoin-wallet/burst_db/burst.h2         |"
  echo "|                                                                                     |"
  echo "| If you need make changes, create new file configs:                                  |"
  echo "| /opt/burstcoin-wallet/conf/brs.properties                                           |"
  echo "| /opt/burstcoin-wallet/conf/logging.properties                                       |"
  echo "| It will overwrite default properties configs, and will not touched on upgrades      |"
  echo "|                                                                                     |"
  echo "| If you want to use MySQL: pacman -S mariadb                                         |"
  echo "| and configure by instruction: https://github.com/burst-apps-team/burstcoin          |"
  echo "|                                                                                     |"
  echo "| Run wallet: sudo systemctl start burstcoin-wallet.service                           |"
  echo "| URL: http://127.0.0.1:8125/index.html                                               |"
  echo "+-------------------------------------------------------------------------------------+"
}

post_upgrade() {
  post_install
}