Commit c4803088 authored by Jorge Bucaran's avatar Jorge Bucaran

remove references to `wa`

parent bf52f5d5
# List all packages installed from the registry.
function omf_list_installed_packages
for item in (basename $OMF_PATH/pkg/*)
test $item = wa; or echo $item
test $item = omf; or echo $item
end
end
# List all custom packages and packages installed from the registry.
function omf_list_local_packages
for item in (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*)
test $item = wa; or echo $item
test $item = omf; or echo $item
end
end
function omf_remove_package
for pkg in $argv
if not omf_util_valid_package $pkg
if test $pkg = "wa"
echo (omf::err)"You can't remove wa"(omf::off) 1^&2
if test $pkg = "omf"
echo (omf::err)"You can't remove `omf`"(omf::off) 1^&2
else
echo (omf::err)"$pkg is not a valid package/theme name"(omf::off) 1^&2
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment