Commit e625824f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-addrepo: add epm repo add archive sisyphus support

parent 5ab0310b
...@@ -294,6 +294,10 @@ __epm_addrepo_altlinux() ...@@ -294,6 +294,10 @@ __epm_addrepo_altlinux()
return 0 return 0
;; ;;
archive) archive)
if [ "$2" = "sisyphus" ] ; then
branch="$2"
shift
fi
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/01/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"
......
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