summarylogtreecommitdiffstats
path: root/visual-studio-code-oss.nonfree.install
diff options
context:
space:
mode:
authorMichael Hansen2016-10-31 11:43:00 -0700
committerMichael Hansen2016-10-31 11:45:44 -0700
commitcc14c24cc4ad3db1903623429710d576758499d7 (patch)
treeb03cdac0f1ad8a3812cc9bf863f6f66eac3d09ad /visual-studio-code-oss.nonfree.install
parente213c58156f2a3c19e94e8d21c24c3d68650dc78 (diff)
downloadaur-cc14c24cc4ad3db1903623429710d576758499d7.tar.gz
Fix monaco.d.ts build issue, and add option to remove non-free patches
Diffstat (limited to 'visual-studio-code-oss.nonfree.install')
-rw-r--r--visual-studio-code-oss.nonfree.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/visual-studio-code-oss.nonfree.install b/visual-studio-code-oss.nonfree.install
new file mode 100644
index 000000000000..3f51ea6e3373
--- /dev/null
+++ b/visual-studio-code-oss.nonfree.install
@@ -0,0 +1,15 @@
+_notice() {
+ echo
+ echo "NOTICE: This package includes proprietary configuration files which make"
+ echo "the package non-free and non-redistributable. If you wish to disable"
+ echo "the extra functionality and use the pure open-source package, read the"
+ echo "notice at the top of the PKGBUILD and set VSCODE_NONFREE=0"
+}
+
+post_install() {
+ _notice
+}
+
+post_upgrade() {
+ _notice
+}