diff --git a/scripts/install.sh b/scripts/install.sh index 4d6044d..d6191c5 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -21,6 +21,9 @@ echo "Migrating DB..." if [ -z "${DEV}" ] || [ "${DEV}" -eq "0" ]; then echo "Minifying JS, CSS and SVG files..." ${ROOT_DIR}/scripts/minify.sh + + echo "Linking view files..." + (cd ${ROOT_DIR} && ./mapg view:link) fi touch ${ROOT_DIR}/installed diff --git a/scripts/update.sh b/scripts/update.sh index 006ec90..8c44bc4 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -20,4 +20,7 @@ echo "Migrating DB..." if [ -z "${DEV}" ] || [ "${DEV}" -eq "0" ]; then echo "Minifying JS, CSS and SVG files..." ${ROOT_DIR}/scripts/minify.sh + + echo "Linking view files..." + (cd ${ROOT_DIR} && ./mapg view:link) fi