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 GitHub
parent 28959aaf97
commit 0f352396be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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