helm/misc/weechat/_init
2017-12-06 01:39:10 -05:00

24 lines
457 B
Bash
Executable file

#!/usr/bin/env zsh
source ${0:A:h}/../../deploy
wee=${0:A:h}/bin/wee
install() {
case $(_os) in
macos) brew install weechat ;;
arch) sudo pacman --needed --noconfirm -S weechat ;;
debian) sudo apt-get install -y weechat ;; # NOTE untested
esac
# NOTE: init.sh needs to be run separately, afterward
echo "Don't forget to run weechat/scripts/bootstrap.sh while weechat is open"
}
# update() {}
# link() {}
# clean() {}
init "$@"