summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2022-01-23 20:11:57 -0500
committerGitHub <noreply@github.com>2022-01-23 20:11:57 -0500
commite66effbf9ac1691af00b04946581a5314001b7be (patch)
treebf1fdddb3b86c787604b1bfedccbc1e9fdfc6059 /scripts
parent3ec57a1d57a4ec122e2ac4fee2f113529566bcd8 (diff)
Update update_site.sh
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_site.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/update_site.sh b/scripts/update_site.sh
index 411069f..9a20774 100755
--- a/scripts/update_site.sh
+++ b/scripts/update_site.sh
@@ -4,9 +4,10 @@ for D in *; do
echo "${D}"
cp ${D}/README.md ./_widgets/${D}.md
sed -i '1s/^/---\nlayout: page\n---\n/' ./_widgets/${D}.md
- mkdir -p ./assets/img/screenshots/${D}
- find ${D}/ \( -name '*.jpg' -o -name '*.png' -o -name '*.gif' \) -exec cp '{}' ./assets/img/screenshots/${D} \;
+ mkdir -p ./assets/img/widgets/screenshots/${D}
+
+ find ${D}/ \( -name '*.jpg' -o -name '*.png' -o -name '*.gif' \) -exec cp '{}' ./assets/img/widgets/screenshots/${D} \;
sed -i "s/](\.\(\/screenshots\)\{0,1\}/](..\/awesome-wm-widgets\/assets\/img\/screenshots\/$D/g" ./_widgets/${D}.md
fi