diff --git a/.dockerignore b/.dockerignore old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/build-images.sh b/build-images.sh index e26fdb0..032f12c 100755 --- a/build-images.sh +++ b/build-images.sh @@ -5,13 +5,9 @@ FILENAME="status.html" ISODIR="download" -echo "checking for updates" -xbps-install -Syu && xbps-install -yu - - - - mvImages(){ +# move image files to final destination + PKGLISTDIR="package_lists" if [ ! -f sha256sums.txt ];then @@ -52,7 +48,7 @@ mvImages(){ } runBuilds(){ - TOTAL="8" + TOTAL="9" ERR_FILE="error-status.txt" if [ -f "${ERR_FILE}" ];then @@ -94,10 +90,7 @@ runBuilds(){ echo "2/${TOTAL} completed at $(date +%T)

" >> ${HTMLDIR}/${FILENAME} fi - #echo "Building Image: GNOME
" >> ${HTMLDIR}/${FILENAME} - #echo " Building: Gnome Image..." - #sleep 1 - #./gnome-x64.sh + echo "Building Image: i3
" >> ${HTMLDIR}/${FILENAME} echo "Building: i3 image..." @@ -192,6 +185,20 @@ runBuilds(){ echo "8/${TOTAL} completed at $(date +%T)

" >> ${HTMLDIR}/${FILENAME} fi + + echo "Building Image: DWM
" >> ${HTMLDIR}/${FILENAME} + echo "Building: DWM Image..." + sleep 1 + ./dwm-x64.sh + + if [ "$(cat ${ERR_FILE})" = "ERR=1" ];then + echo "Build failed for image: 'MATE', trying again at 00:00 MST
" >> ${HTMLDIR}/${FILENAME} + rm ${ERR_FILE} + ${0} -bl + else + echo "9/${TOTAL} completed at $(date +%T)

" >> ${HTMLDIR}/${FILENAME} + fi + if [ ! -f sha256sums.txt ];then echo "sha manifest does not exist!" else @@ -254,7 +261,7 @@ genHtml(){ echo 'setTimeout("location.reload(true);",timeoutPeriod);' >> ${HTMLDIR}/${FILENAME} echo '}' >> ${HTMLDIR}/${FILENAME} - echo 'window.onload = timedRefresh(10000);' >> ${HTMLDIR}/${FILENAME} + echo 'window.onload = timedRefresh(60000);' >> ${HTMLDIR}/${FILENAME} echo "" >> ${HTMLDIR}/${FILENAME} echo "