chore: Add 'function' to front of some functions

This commit is contained in:
zen0bit 2024-04-21 08:23:20 +02:00 committed by Martin Wimpress
parent 96cc14a322
commit e49d608473
1 changed files with 4 additions and 4 deletions

View File

@ -350,7 +350,7 @@ function list_csv() {
exit 0 exit 0
} }
list_supported() { function list_supported() {
# output OS RELEASE EDITION (usefull for straight testing...) # output OS RELEASE EDITION (usefull for straight testing...)
local DL="" local DL=""
local FUNC local FUNC
@ -381,7 +381,7 @@ list_supported() {
exit 0 exit 0
} }
list_isos() { function list_isos() {
local showIsoUrl=on local showIsoUrl=on
local DIR="/dev/null" local DIR="/dev/null"
local URL local URL
@ -426,7 +426,7 @@ list_isos() {
exit 0 exit 0
} }
test_isos() { function test_isos() {
local testIsoUrl=on local testIsoUrl=on
local DIR="/dev/null" local DIR="/dev/null"
local FUNC local FUNC
@ -3382,7 +3382,7 @@ function get_windows() {
fi fi
} }
open_url() { function open_url() {
local URL="$1"; local URL="$1";
xdg-open $URL || sensible-browser $URL || x-www-browser $URL || gnome-open $URL; xdg-open $URL || sensible-browser $URL || x-www-browser $URL || gnome-open $URL;
} }