WebsiteTools 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dyn-site.sh +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9be586b958acb63b955e3831d3a79c7aedbd3a52
|
4
|
+
data.tar.gz: f1ea6c2c3533a2e11846f635b0b6fab43439245e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 854e27f955bd4e2d730715a31ec4ee375b600889fa33d00bd1bbc4963fe9dfcac908bf5d65557091609c47a335ef569f45801f5d0f2ebb10e6afdd0053c913c4
|
7
|
+
data.tar.gz: 3c6d9dc472d11d06251a37af000cbe65316beb4176027857149b3ed61ca36095056a3a53803738b39062fabb7cda9b5cf989a476d486a9840676c3202d3121f5
|
data/bin/dyn-site.sh
CHANGED
@@ -101,7 +101,9 @@ rebase-subdir)
|
|
101
101
|
PUBLIC_PAGES="$HOME/RodaSrv/public/pages/${Subdir}/${Prj}"
|
102
102
|
SITE_ROOT="$HOME/RodaSrv/.site/$Prj"
|
103
103
|
PAGES_ROOT="$SITE_ROOT/pages"
|
104
|
-
|
104
|
+
if [ -d ${SITE_ROOT} ]; then
|
105
|
+
rm -fr ${SITE_ROOT}
|
106
|
+
fi
|
105
107
|
mkdir -p ${PAGES_ROOT}
|
106
108
|
cp -R ${PUBLIC_PAGES}/* ${PAGES_ROOT}/
|
107
109
|
cp -R ${PUBLIC_ASSETS}/* ${SITE_ROOT}/
|