Commit 199e4853 authored by Roman Alifanov's avatar Roman Alifanov

gen-apt-conf: added deferred-beta

parent 460e4052
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
NETWORK=false NETWORK=false
# базовые функции # базовые функции
# shellcheck disable=SC1091 # shellcheck disable=SC1091
. "$(dirname "$0")/common" . "$(dirname "$0")/common"
...@@ -27,16 +27,17 @@ while true; do ...@@ -27,16 +27,17 @@ while true; do
printf " --net | --network Использовать сетевые репозитории\n\n" printf " --net | --network Использовать сетевые репозитории\n\n"
printf " Репозитории:\n" printf " Репозитории:\n"
printf " - deferred\n" printf " - deferred\n"
printf " - deferred-beta\n"
printf " - ximper-additives\n" printf " - ximper-additives\n"
printf " - ximper-additives-devel\n" printf " - ximper-additives-devel\n"
printf " - hasher\n" printf " - hasher\n"
exit 0 exit 0
;; ;;
-d|--dir) -d|--dir)
buildertmp="$2" buildertmp="$2"
shift shift
;; ;;
-r|--repos) -r|--repos)
REPOS="${2//,/ }" REPOS="${2//,/ }"
shift shift
;; ;;
...@@ -70,6 +71,20 @@ rpm [alt] $repo_path/x86_64-i586 classic ...@@ -70,6 +71,20 @@ rpm [alt] $repo_path/x86_64-i586 classic
rpm [alt] $repo_path/noarch classic rpm [alt] $repo_path/noarch classic
EOF EOF
;; ;;
deferred-beta)
base_url="https://download.etersoft.ru/pub/Etersoft Sisyphus/Deferred_BETA"
local_path="file:/var/ftp/pub/Etersoft Sisyphus/Deferred"
if [ "$NETWORK" == "true" ]; then
repo_path="$base_url"
else
repo_path="$local_path"
fi
cat <<EOF >> "$SOURCES"
rpm [alt] $repo_path/x86_64 classic
rpm [alt] $repo_path/x86_64-i586 classic
rpm [alt] $repo_path/noarch classic
EOF
;;
ximper-additives) ximper-additives)
base_url="https://download.etersoft.ru/pub/Etersoft/XimperLinux/Current Additives" base_url="https://download.etersoft.ru/pub/Etersoft/XimperLinux/Current Additives"
local_path="file:/var/ftp/pub/Etersoft/XimperLinux/Current Additives" local_path="file:/var/ftp/pub/Etersoft/XimperLinux/Current Additives"
......
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