Commit 959945b2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-addrepo: add AstraLinux 1.8 support

parent 5d41ae7e
...@@ -403,7 +403,7 @@ __epm_addrepo_astra() ...@@ -403,7 +403,7 @@ __epm_addrepo_astra()
astra-1.7_x86-64) astra-1.7_x86-64)
# TODO epm repo change http / https # TODO epm repo change http / https
epm install --skip-installed apt-transport-https ca-certificates || fatal epm install --skip-installed apt-transport-https ca-certificates || fatal
if epm repo list | grep "dl.astralinux.ru/astra/stable/1.7_x86-64" ; then if epm repo list "dl.astralinux.ru/astra/stable/1.7_x86-64" ; then
fatal "Astra repo is already in the list" fatal "Astra repo is already in the list"
fi fi
# https://wiki.astralinux.ru/pages/viewpage.action?pageId=158598882 # https://wiki.astralinux.ru/pages/viewpage.action?pageId=158598882
...@@ -414,6 +414,16 @@ __epm_addrepo_astra() ...@@ -414,6 +414,16 @@ __epm_addrepo_astra()
epm repo add "deb [arch-=i386] https://dl.astralinux.ru/astra/stable/1.7_x86-64/repository-extended/ 1.7_x86-64 astra-ce" epm repo add "deb [arch-=i386] https://dl.astralinux.ru/astra/stable/1.7_x86-64/repository-extended/ 1.7_x86-64 astra-ce"
return return
;; ;;
astra-1.8_x86-64)
# TODO epm repo change http / https
epm install --skip-installed apt-transport-https ca-certificates || fatal
if epm repo list "dl.astralinux.ru/astra/stable/$reponame" ; then
fatal "Astra repo is already in the list"
fi
epm repo add "deb [arch-=i386] https://dl.astralinux.ru/astra/stable/$reponame/main-repository/ $reponame main contrib non-free non-free-firmware"
epm repo add "deb [arch-=i386] https://dl.astralinux.ru/astra/stable/$reponame/extended-repository/ $reponame main contrib non-free non-free-firmware"
return
;;
astra-orel) astra-orel)
# TODO epm repo change http / https # TODO epm repo change http / https
epm install --skip-installed apt-transport-https ca-certificates || fatal epm install --skip-installed apt-transport-https ca-certificates || fatal
......
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