summarylogtreecommitdiffstats
path: root/code-features-insiders.install
blob: bd53d862b19ae6f6acd2b62f74d320894f0bdcea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  /usr/share/code-features-insiders/patch.py code-features-insiders patch
  printf "==> [code-features-insiders] Use command /usr/bin/code-features-insiders-update to manually update the patch to keep up with the official vscode release when this package is out of date or some extensions don't work after an update in extra/code."
}

pre_upgrade() {
  /usr/share/code-features-insiders/patch.py code-features-insiders restore
}

post_upgrade() {
  /usr/share/code-features-insiders/patch.py code-features-insiders patch
}

pre_remove() {
  /usr/share/code-features-insiders/patch.py code-features-insiders restore
  /usr/bin/rm -f /usr/share/code-features/cache.json
}