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