easyinstall.sh: fix typos in script syntax (#1391)

* easyinstall.sh: fix typo in sudoCache() function name

* Fix typo in apt-get command
This commit is contained in:
Daniel Markstedt 2023-11-27 16:02:01 +09:00 committed by Daniel Markstedt
parent 5f0aea451e
commit 53e33388ec

View File

@ -92,7 +92,7 @@ function initialChecks() {
}
# Only to be used for pi-gen automated install
function cacheSudo() {
function sudoCache() {
echo "Caching sudo password"
echo raspberry | sudo -v -S
}
@ -969,7 +969,7 @@ function installWebmin() {
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
sudo sh setup-repos.sh -f
rm setup-repos.sh
sudo apt-get install webmin --install-recommends --assume-yes </dev/null
sudo apt-get install webmin --no-install-recommends --assume-yes </dev/null
echo
echo "Downloading and installing Webmin module..."
if [[ -f "$WEBMIN_MODULE_CONFIG" ]]; then