plugins/base: remove `command_exists`

pull/1930/head
John D Pell 2021-09-23 22:56:08 -07:00
parent 96239a286a
commit 280eaf338a
1 changed files with 0 additions and 9 deletions

View File

@ -140,15 +140,6 @@ then
} }
fi fi
function command_exists ()
{
about 'checks for existence of a command'
param '1: command to check'
example '$ command_exists ls && echo exists'
group 'base'
type -t "$1" >/dev/null
}
if _command_exists mkisofs; then if _command_exists mkisofs; then
function mkiso() { function mkiso() {
about 'creates iso from current dir in the parent dir (unless defined)' about 'creates iso from current dir in the parent dir (unless defined)'