summarylogtreecommitdiffstats
path: root/visual-studio-code-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'visual-studio-code-bin.install')
-rw-r--r--visual-studio-code-bin.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/visual-studio-code-bin.install b/visual-studio-code-bin.install
new file mode 100644
index 000000000000..f7b11b341cd2
--- /dev/null
+++ b/visual-studio-code-bin.install
@@ -0,0 +1,21 @@
+# Colored makepkg-like functions
+msg_blue() {
+ printf "${blue}==>${bold} $1${all_off}\n"
+}
+
+note() {
+ printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ note "Custom flags should be put directly in: ~/.config/code-flags.conf"
+}
+
+post_upgrade() {
+ post_install
+} \ No newline at end of file