Commit | Line | Data |
---|---|---|
1 | # arg 1: the new package version | |
2 | post_install() { | |
3 | echo 'Generating default config file if not exists...' | |
4 | while echo; do true; done 2>/dev/null | dtinitconf >/dev/null | |
5 | return 0 | |
6 | } | |
7 | ||
8 | # arg 1: the new package version | |
9 | # arg 2: the old package version | |
10 | post_upgrade() { | |
11 | post_install $1 | |
12 | } |