[visual-studio-code-bin] Add wrapper for custom flags

This allows per-user configuration for native Wayland support.
This commit is contained in:
n0k0m3
2022-02-03 10:39:50 -05:00
committed by D. Can Celasun
parent 832576b3e8
commit a059583646
6 changed files with 51 additions and 12 deletions

View File

@@ -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
}