blob: a65da8e04f03147bd550148a40c12c623d7b28f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install() {
echo "Applying notion-enhancer automatically..."
notion-enhancer apply -y
}
post_upgrade() {
if [[ "$(notion-enhancer check)" == *" not "* ]]; then
echo "W: Notion-enhancer is not applied, skipping"
else
echo "I: Reapplying notion-enhancer"
notion-enhancer apply -y
fi
}
pre_remove() {
echo "Disabling notion-enhancer..."
notion-enhancer remove -y
}
|