info "Copying configuration ..."
CP "${cur_cfg_file}" "${new_cfg_file}"
+ CHOWN "${WWW_USER}:${WWW_GROUP}" "${new_cfg_file}"
}
change_symlinks() {
info "Setting symlink '${CYAN}${NEXTCLOUD_DIR_LINK}${NORMAL}' -> '${CYAN}nextcloud-${NEW_VERSION}${NORMAL}' ..."
- cd
+ cd "${WWW_BASE}"
RM "${NEXTCLOUD_DIR_LINK}"
LN "nextcloud-${NEW_VERSION}" "${NEXTCLOUD_DIR_LINK}"
CYAN=""
NORMAL=""
-VERSION="0.3.5"
+VERSION="0.3.6"
STD_SHORT_OPTIONS="sdvhV"
STD_LONG_OPTIONS="simulate,debug,verbose,nocolor,help,version"