echo"$datestr" | grep-Eq"^20[0-2][0-9]/[01][0-9]/[0-3][0-9]$"|| fatal "use follow date format: 2017/01/31"
...
...
@@ -4221,7 +4246,7 @@ __epm_check_if_src_rpm()
{
local pkg
for pkg in$@;do
echo"$pkg" | grep-q"\.src.\rpm"&& fatal "Installation of a source packages (like '$pkg') is not supported."
echo"$pkg" | grep-q"\.src\.rpm"&& fatal "Installation of a source packages (like '$pkg') is not supported."
done
}
...
...
@@ -9542,7 +9567,7 @@ epm_repo()
""|list)# HELPCMD: list enabled repositories (-a|--all for list disabled repositorires too)
epm_repolist "$@"
;;
change)# HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt): rewrite URLs to the specified server
change)# HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt/altlinux.org/eterfund.org): rewrite URLs to the specified server
epm_repofix "$@"
;;
set)# HELPCMD: <mirror>: remove all existing sources and add mirror for the branch