summarylogtreecommitdiffstats
path: root/shlink.install
blob: a787c8608b8afba0c3cf7f40d290847aa372e0ec (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
}