remove references to `wa`

pull/2/head
Jorge Bucaran 9 years ago
parent bf52f5d57a
commit c480308889

@ -1,6 +1,6 @@
# 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

@ -1,6 +1,6 @@
# 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

@ -1,8 +1,8 @@
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

Loading…
Cancel
Save