Commit 5f6be316 authored by Vitaly Lipatov's avatar Vitaly Lipatov

improve example of archive date

parent dfbf6eb6
...@@ -323,7 +323,7 @@ check_command() ...@@ -323,7 +323,7 @@ check_command()
epm_cmd=update epm_cmd=update
direct_args=1 direct_args=1
;; ;;
addrepo|ar|--add-repo) # HELPCMD: add package repo (etersoft, autoimports, archive 2017/12/31); run with param to get list addrepo|ar|--add-repo) # HELPCMD: add package repo (etersoft, autoimports, archive 2017/01/31); run with param to get list
epm_cmd=addrepo epm_cmd=addrepo
direct_args=1 direct_args=1
;; ;;
......
...@@ -272,7 +272,7 @@ __epm_addrepo_altlinux() ...@@ -272,7 +272,7 @@ __epm_addrepo_altlinux()
;; ;;
archive) archive)
datestr="$2" datestr="$2"
echo "$datestr" | grep -Eq "^20[0-2][0-9]/[01][0-9]/[0-3][0-9]$" || fatal "use follow date format: 2017/12/31" echo "$datestr" | grep -Eq "^20[0-2][0-9]/[01][0-9]/[0-3][0-9]$" || fatal "use follow date format: 2017/01/31"
local rpmsign='[alt]' local rpmsign='[alt]'
[ "$branch" != "sisyphus" ] && rpmsign="[$branch]" [ "$branch" != "sisyphus" ] && rpmsign="[$branch]"
......
...@@ -91,7 +91,7 @@ epm_repo() ...@@ -91,7 +91,7 @@ epm_repo()
load_helper epm-reposave load_helper epm-reposave
epm_repostatus "$@" epm_repostatus "$@"
;; ;;
add) # HELPCMD: add package repo (etersoft, autoimports, archive 2017/12/31); run with param to get list add) # HELPCMD: add package repo (etersoft, autoimports, archive 2017/01/31); run with param to get list
load_helper epm-addrepo load_helper epm-addrepo
epm_addrepo "$@" epm_addrepo "$@"
;; ;;
......
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