Last active
August 29, 2015 13:56
-
-
Save nooitaf/9146199 to your computer and use it in GitHub Desktop.
override image and font paths
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
new package system wants
username:packagename