Skip to content

Instantly share code, notes, and snippets.

@nooitaf
Last active August 29, 2015 13:56
Show Gist options
  • Save nooitaf/9146199 to your computer and use it in GitHub Desktop.
Save nooitaf/9146199 to your computer and use it in GitHub Desktop.
override image and font paths
#!/bin/bash
# replace css
find ./meteor-semantic-ui/ -type f -iname '*.css' -print0 | xargs -0 \
gsed -s -i'' 's#[.][.][/]#/packages/nooitaf:semantic-ui/lib/semantic-ui/build/uncompressed/#g'
# replace less
find ./meteor-semantic-ui-less/ -type f -iname '*.less' -print0 | xargs -0 \
gsed -s -i'' 's#[.][.][/]#/packages/nooitaf:semantic-ui-less/lib/semantic-ui/build/less/#g'
# dump for quick check
find ./meteor-semantic-ui/ -type f -iname '*.css' -print0 | xargs -0 grep 'images'
find ./meteor-semantic-ui/ -type f -iname '*.css' -print0 | xargs -0 grep 'fonts'
find ./meteor-semantic-ui-less/ -type f -iname '*.less' -print0 | xargs -0 grep 'images'
find ./meteor-semantic-ui-less/ -type f -iname '*.less' -print0 | xargs -0 grep 'fonts'
@nooitaf
Copy link
Author

nooitaf commented Aug 27, 2014

new package system wants username:packagename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment