Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

fix(srpi-config): Install chromium form ppa:xtradeb/apps,through Ubun… #15

Open
wants to merge 1 commit into
base: feat-ubuntu22.04
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion hb_dtb_tool/srpi-config
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,16 @@ do_browser() {
fi
if [ $? -eq 0 ]; then
if [ "$RES" = "1" ] ; then
if is_installed chromium || apt update || apt-get install -y chromium; then
if is_installed chromium; then
BROWSER="chromium"
BSTRING="Chromium"
else
add-apt-repository ppa:xtradeb/apps -y
apt update
if apt-get install -y chromium; then
BROWSER="chromium"
BSTRING="Chromium"
fi
fi
elif [ "$RES" = "2" ] ; then
BROWSER="firefox"
Expand Down