- Timestamp:
- Dec 17, 2018, 1:01:26 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- affc3f7
- Parents:
- a0085a2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bin/js_deps
ra0085a2 r8e5f92c 202 202 } 203 203 204 pickadate() { 205 NAME="pickadate" 206 VERSION=3.5.6 207 URL=https://github.com/amsul/${NAME}.js/archive/${VERSION}.tar.gz 208 check_cache ${NAME} ${VERSION} 209 in_cache=$? 210 if [ ${in_cache} -eq 0 -a ${REINSTALL} -eq 1 ]; then 211 echo "${NAME}-${VERSION} $ALREADY_INSTALLED" 212 else 213 echo "> Installing ${NAME} ${VERSION}" 214 if [ -d ${COMPONENTS}/${NAME} ]; then 215 # Clean up, delete previous install before installing 216 rm -r ${COMPONENTS}/${NAME} 217 fi 218 mkdir ${COMPONENTS}/${NAME} 219 cd ${TMP} 220 ${GET} ${URL} 221 ${TAR} ${VERSION}.tar.gz 222 cd ${CURRENT} 223 mv ${TMP}/${NAME}.js-${VERSION}/lib/* ${COMPONENTS}/${NAME} 224 echo "${NAME}-${VERSION}" >> ${CACHE} 225 echo "< Installed ${NAME} ${VERSION}" 226 fi 227 } 228 204 229 echo "Installing JS dependencies in ${COMPONENTS}" 205 230 … … 209 234 leaflet_gpx 210 235 leaflet_elevation 236 pickadate 211 237 212 238 # Clean up, remove the tmp directory
Note: See TracChangeset
for help on using the changeset viewer.