summarylogtreecommitdiffstats
path: root/gitea.install
blob: 6df0e4e41fe6dc91486b7ccacfc2a1ba7bbb59a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_upgrade() {
    if [ $(vercmp $2 1.12) -eq -1 ] ; then
        cat << EOF
It seems that in 1.12, gitea has changed the data load behavior.
If you’re using the default paths (/var/lib/gitea),
no changes are necessary.
If you’re using custom paths, you might have to set then with
-w for working directory and/or -C for gitea/custom directory.
Refer to gitea --help if you’re experiencing any issues.
EOF
    fi
}