mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +00:00
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:
parent
28959aaf97
commit
0f352396be
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user