Skip to content

Instantly share code, notes, and snippets.

@PiDelport
Created August 22, 2012 12:41

Revisions

  1. PiDelport created this gist Aug 22, 2012.
    11 changes: 11 additions & 0 deletions unpack.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #!/bin/sh -e

    dist="tinymce_${1:?}.zip"

    wget -N "http://github.com/downloads/tinymce/tinymce/$dist"

    unzip "$dist"
    rm -r tinymce/examples
    mv tinymce/changelog.txt tinymce_changelog.txt
    cp -a tinymce/jscripts/tiny_mce/* js/tinymce/resources
    rm -r tinymce/jscripts/tiny_mce/*