25 lines
		
	
	
		
			361 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			361 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env zsh
 | 
						|
source ${0:A:h}/../../deploy
 | 
						|
 | 
						|
install() {
 | 
						|
  case "$OSTYPE" in
 | 
						|
    darwin*)
 | 
						|
      brew install offlineimap
 | 
						|
      brew install mu --with-emacs
 | 
						|
      ;;
 | 
						|
    linux*)
 | 
						|
      if [[ -f /etc/arch-release ]]; then
 | 
						|
        pacaur --noedit --needed --noconfirm -S offlineimap mu
 | 
						|
      fi
 | 
						|
      ;;
 | 
						|
  esac
 | 
						|
}
 | 
						|
 | 
						|
#update() {}
 | 
						|
 | 
						|
link() {}
 | 
						|
 | 
						|
clean() {}
 | 
						|
 | 
						|
init "$@"
 |