mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
fix typo and version file in update-from-repo
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user