Skip to content

Commit eaceb8b

Browse files
committed
install.sh: remap pop_os to ubuntu
1 parent 69c803b commit eaceb8b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

install.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@ get_architecture() {
120120
local _os_version_id="$(awk -F= '$1=="VERSION_ID" { print $2 ;}' /etc/os-release | tr -d '"')"
121121
local _ostype="$_os_id$_os_version_id"
122122
case "$_ostype" in
123-
ubuntu22*)
124-
check_apt_install libc++abi1-15
123+
pop*)
124+
local _ostype="ubuntu$_os_version_id"
125125
;;
126-
pop22*)
126+
esac
127+
case "$_ostype" in
128+
ubuntu22*)
127129
check_apt_install libc++abi1-15
128130
;;
129131
ubuntu20*)

0 commit comments

Comments
 (0)