Commit 242c659e authored by Vitaly Lipatov's avatar Vitaly Lipatov

rename --thirdpart to --thirdparty

parent c0770900
......@@ -119,7 +119,7 @@ __epm_print_warning_for_nonalt_packages()
continue
fi
if epm_status_thirdpart "$i" ; then
if epm_status_thirdparty "$i" ; then
warning "%%% You are trying install package $i from third-party software source. Use it at your own discretion. %%%"
continue
fi
......
......@@ -83,7 +83,7 @@ epm_status_repacked()
}
epm_status_thirdpart()
epm_status_thirdparty()
{
local pkg="$1"
......@@ -119,7 +119,7 @@ Usage: epm status [options] <package>
Options:
--installed check if <package> is installed
--original check if <package> is from distro repo
--thirdpart check if <package> from a third part source (didn't packed for this distro)
--thirdparty check if <package> from a third-party source (didn't packed for this distro)
--repacked check if <package> was repacked with epm repack
--validate check if <package> is accessible (we can get a fields from it)
......@@ -151,8 +151,8 @@ epm_status()
epm_status_original "$@"
return
;;
--thirdpart)
epm_status_thirdpart "$@"
--third-party|--thirdparty|--thirdpart)
epm_status_thirdparty "$@"
return
;;
--repacked)
......
......@@ -226,7 +226,7 @@ is_repacked_package()
return 1
fi
if epm status --thirdpart $pkg ; then
if epm status --thirdparty $pkg ; then
echo "Package $pkg is already installed, packaged by vendor $(epm print field Distribution for $pkg)."
return 1
fi
......
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