diff options
Diffstat (limited to 'packages/demobank-ui/remove-link-stylesheet.sh')
-rwxr-xr-x | packages/demobank-ui/remove-link-stylesheet.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/demobank-ui/remove-link-stylesheet.sh b/packages/demobank-ui/remove-link-stylesheet.sh deleted file mode 100755 index d3376b8e6..000000000 --- a/packages/demobank-ui/remove-link-stylesheet.sh +++ /dev/null @@ -1,8 +0,0 @@ -# This script has been placed in the public domain. - -FILE=$(ls build/bundle.*.css) -BUNDLE=${FILE#build} -grep -q '<link href="'$BUNDLE'" rel="stylesheet">' build/index.html || { echo bundle $BUNDLE not found in index.html; exit 1; } -echo -n Removing link from index.html ... -sed 's_<link href="'$BUNDLE'" rel="stylesheet">__' -i build/index.html -echo done |