fix typo and version file in update-from-repo

This commit is contained in:
Gnadelwartz
2018-01-27 23:01:26 +01:00
parent 3952a2934f
commit 9c41feeb08

View File

@@ -162,9 +162,10 @@ if [[ $EUID -eq 0 ]]; then
done
#prepeare unattended upgrade
echo "${version}" >"${TEMP}/tarballs/${PROD}-${version}/version"
cp "${TEMP}/maketemp.pl" "${TEMP}/tarballs/${PROD}-${version}"
cp "${TEMP}/setup.sh" "${TEMP}/tarballs/${PROD}-${version}"
cp "${temp}/chinese-to-utf-8.pl" .
cp "${TEMP}/chinese-to-utf8.pl" .
echo -en "${CYAN}search for config dir ... ${NC}"
config_dir=`grep env_WEBMIN_CONFIG= ${MINICONF}| sed 's/.*_WEBMIN_CONFIG=//'`
echo -e "${ORANGE}found: ${config_dir}${NC}"