summarylogtreecommitdiffstats
path: root/shlink.install
blob: 8c069ad547578890d9d8ee41c3c6d0960180ccf2 (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
post_install(){
 cat <<INFO

Shlink has been installed successfully.
Please run \`(cd /usr/share/webapps/shlink && sudo -u http php vendor/bin/shlink-installer install)\`
to configure the database and other options.
You can find more information here:

https://github.com/shlinkio/shlink/#configure

INFO
}

post_upgrade(){
 cat <<INFO

Shlink has been updated successfully.
Please run \`(cd /usr/share/webapps/shlink && sudo -u http php vendor/bin/shlink-installer update)\`
to migrate the database and configure new options.

You can provide `/usr/share/webapps/shlink` when asked to import the existing configuration.

You can find more information here:

https://github.com/shlinkio/shlink/#update-to-new-version

INFO
}