Commit c4803088 authored by Jorge Bucaran's avatar Jorge Bucaran

remove references to `wa`

parent bf52f5d5
# List all packages installed from the registry. # List all packages installed from the registry.
function omf_list_installed_packages function omf_list_installed_packages
for item in (basename $OMF_PATH/pkg/*) for item in (basename $OMF_PATH/pkg/*)
test $item = wa; or echo $item test $item = omf; or echo $item
end end
end end
# List all custom packages and packages installed from the registry. # List all custom packages and packages installed from the registry.
function omf_list_local_packages function omf_list_local_packages
for item in (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*) for item in (basename {$OMF_PATH,$OMF_CUSTOM}/pkg/*)
test $item = wa; or echo $item test $item = omf; or echo $item
end end
end end
function omf_remove_package function omf_remove_package
for pkg in $argv for pkg in $argv
if not omf_util_valid_package $pkg if not omf_util_valid_package $pkg
if test $pkg = "wa" if test $pkg = "omf"
echo (omf::err)"You can't remove wa"(omf::off) 1^&2 echo (omf::err)"You can't remove `omf`"(omf::off) 1^&2
else else
echo (omf::err)"$pkg is not a valid package/theme name"(omf::off) 1^&2 echo (omf::err)"$pkg is not a valid package/theme name"(omf::off) 1^&2
end 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