feat: Add function to show OS homepage

This commit is contained in:
zen0bit 2024-04-12 18:02:43 +02:00 committed by Martin Wimpress
parent 0f04a90bdb
commit 4cc1b90b25
1 changed files with 8 additions and 0 deletions

View File

@ -455,6 +455,14 @@ function os_support() {
zorin
}
function os_homepage(){
local SIMPLE_NAME=""
local HOMEP=""
SIMPLE_NAME="${1}"
HOMEP=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f4)
echo "$HOMEP"
}
function os_homepages(){
local SIMPLE_NAME=""
local HOMEPAGE=""