Skip to content

Instantly share code, notes, and snippets.

View brenolf's full-sized avatar
🦆

Breno Freitas brenolf

🦆
View GitHub Profile
@brenolf
brenolf / Copy - Ubuntu
Last active December 21, 2015 02:29
Bash script to install Copy on Ubuntu-like OS globally. It accepts one single optional parameter "-nd" which tells the script to not download the file.
#!/bin/bash
# Created by Breno Lima de Freitas - 2013
# based on <http://forums.linuxmint.com/viewtopic.php?f=47&t=130343>
# The script accepts one single optional parameter (-nd). This pa-
# rameter tells the script to not download the file.
if [ "$1" != "-nd" ]; then
wget https://copy.com/install/linux/Copy.tgz -O /tmp/copy.tgz
fi