fixed indentation
This commit is contained in:
@@ -20,18 +20,18 @@ install_chromium()
|
||||
{
|
||||
# Add Debian repo to sources.list.d directory depending on Ubuntu version
|
||||
case $SYS_VER in
|
||||
16.04|16.10|17.04|17.10)
|
||||
prnt I "Adding Debian Stretch repository to software sources..."
|
||||
install_file debian_stretch.list /etc/apt/sources.list.d/
|
||||
;;
|
||||
18.04|18.10|19.04|19.10)
|
||||
prnt I "Adding Debian Buster repository to software sources..."
|
||||
install_file debian_buster.list /etc/apt/sources.list.d/
|
||||
;;
|
||||
20.04|20.10|21.04|21.10)
|
||||
prnt I "Adding Debian Bullseye repository to software sources..."
|
||||
install_file debian_bullseye.list /etc/apt/sources.list.d/
|
||||
;;
|
||||
16.04|16.10|17.04|17.10)
|
||||
prnt I "Adding Debian Stretch repository to software sources..."
|
||||
install_file debian_stretch.list /etc/apt/sources.list.d/
|
||||
;;
|
||||
18.04|18.10|19.04|19.10)
|
||||
prnt I "Adding Debian Buster repository to software sources..."
|
||||
install_file debian_buster.list /etc/apt/sources.list.d/
|
||||
;;
|
||||
20.04|20.10|21.04|21.10)
|
||||
prnt I "Adding Debian Bullseye repository to software sources..."
|
||||
install_file debian_bullseye.list /etc/apt/sources.list.d/
|
||||
;;
|
||||
esac
|
||||
|
||||
# Install Debian GPG keys
|
||||
@@ -56,23 +56,23 @@ precheck_install_chromium()
|
||||
{
|
||||
# Check we run Ubuntu
|
||||
if [[ $SYS_DIST != "ubuntu" ]]; then
|
||||
prnt E "The install_chromium module is a Ubuntu only workaround."
|
||||
die 165
|
||||
prnt E "The install_chromium module is a Ubuntu only workaround."
|
||||
die 165
|
||||
fi
|
||||
case $SYS_VER in
|
||||
16.04|16.10|17.04|17.10)
|
||||
prnt m " * Detected Ubuntu $SYS_VER, will install Stretch version of Chromium"
|
||||
;;
|
||||
18.04|18.10|19.04|19.10)
|
||||
prnt m " * Detected Ubuntu $SYS_VER, will install Buster version of Chromium"
|
||||
;;
|
||||
20.04|20.10|21.04|21.10)
|
||||
prnt m " * Detected Ubuntu $SYS_VER, will install Bullseye version of Chromium"
|
||||
;;
|
||||
*)
|
||||
prnt E "Unable to determine the corresponding Debian version."
|
||||
die 165
|
||||
;;
|
||||
16.04|16.10|17.04|17.10)
|
||||
prnt m " * Detected Ubuntu $SYS_VER, will install Stretch version of Chromium"
|
||||
;;
|
||||
18.04|18.10|19.04|19.10)
|
||||
prnt m " * Detected Ubuntu $SYS_VER, will install Buster version of Chromium"
|
||||
;;
|
||||
20.04|20.10|21.04|21.10)
|
||||
prnt m " * Detected Ubuntu $SYS_VER, will install Bullseye version of Chromium"
|
||||
;;
|
||||
*)
|
||||
prnt E "Unable to determine the corresponding Debian version."
|
||||
die 165
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user