Skip to content

Instantly share code, notes, and snippets.

@uda
Last active August 29, 2015 13:57
Show Gist options
  • Save uda/9384607 to your computer and use it in GitHub Desktop.
Save uda/9384607 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /opt
sudo git clone git@github.com:xypiie/gritz.git
sudo echo <<'EOF' > /usr/local/bin/gritz
#!/bin/bash
cd /opt/gritz
./gritz.pl &>/dev/null &
EOF
sudo chmod a+x /usr/local/bin/gritz
sudo echo <<'EOF' > /usr/share/applications/gritz.desktop
[Desktop Entry]
Comment=
Terminal=false
Name=Gritz Fast Reader
Exec=gritz
Type=Application
Icon=gnome-panel-launcher
Categories=Utility;Office;
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment