#!/bin/bash
# /usr/local/bin/cryptocat_install
# https://crystalfaeries.net/posix/bin/cryptocat_install
# celeste:crystalfaery CRYPTOCAT_INSTALL 2016-08-30 20:45:18+00:00
# when cryptocat offers an upgrade, save it in:
cd /usr/local/games/cryptocat/
unzip Cryptocat-linux-x64.zip && \
rm Cryptocat-linux-x64.zip
unzip Cryptocat.zip && \
rm Cryptocat.zip
rsync -auvzH Cryptocat-linux-x64/* . && \
rm -rf Cryptocat-linux-x64
find locales -name '*.pak' \! -name en-US.pak -exec rm {} \;
syntax highlighted by Code2HTML, v. 0.9.1