remove references to wa

This commit is contained in:
Jorge Bucaran 2015-08-27 03:58:35 +09:00
parent bf52f5d57a
commit c480308889
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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