mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
Refactor "{type => _omb_util_command_exists}"
This commit is contained in:
@@ -124,7 +124,7 @@ zipf () { zip -r "$1".zip "$1" ; } # zipf: To create a ZIP arc
|
||||
# mkiso: creates iso from current dir in the parent dir (unless defined)
|
||||
# ---------------------------------------------------------
|
||||
mkiso () {
|
||||
if type "mkisofs" > /dev/null; then
|
||||
if _omb_util_command_exists mkisofs; then
|
||||
if [ -z ${1+x} ]; then
|
||||
local isoname=${PWD##*/}
|
||||
else
|
||||
|
Reference in New Issue
Block a user