add ximper-devel repo

parent a8cf9589
......@@ -171,6 +171,7 @@ while true; do
printf " Репозитории:\n"
printf " - sisyphus\n"
printf " - ximper\n"
printf " - ximper-devel\n"
printf " - hasher\n"
printf "\n"
printf " Прочее:\n"
......
......@@ -29,6 +29,7 @@ while true; do
printf " Репозитории:\n"
printf " - sisyphus\n"
printf " - ximper\n"
printf " - ximper-devel\n"
printf " - hasher\n"
exit 0
;;
......@@ -56,7 +57,7 @@ SOURCES="$buildertmp/sources.list.ximper"
gen_sources() {
for repo in $REPOS; do
case "$repo" in
*sisyphus*)
sisyphus)
base_url="http://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus"
local_path="file:/var/ftp/ pub/ALTLinux/Sisyphus"
if [ "$NETWORK" == "true" ]; then
......@@ -70,7 +71,7 @@ rpm [alt] $repo_path/x86_64-i586 classic
rpm [alt] $repo_path/noarch classic
EOF
;;
*ximper*)
ximper)
base_url="https://download.etersoft.ru/pub/download/ximper XimperLinuxRepository"
local_path="file:/var/ftp/pub/download/ximper XimperLinuxRepository"
if [ "$NETWORK" == "true" ]; then
......@@ -83,6 +84,19 @@ rpm $repo_path/x86_64 addon
rpm $repo_path/noarch addon
EOF
;;
ximper-devel)
base_url="https://download.etersoft.ru/pub/Etersoft/XimperLinux/devel Repository"
local_path="file:/var/ftp/pub/Etersoft/XimperLinux/devel Repository"
if [ "$NETWORK" == "true" ]; then
repo_path="$base_url"
else
repo_path="$local_path"
fi
cat <<EOF >> "$SOURCES"
rpm $repo_path/x86_64 addon
rpm $repo_path/noarch addon
EOF
;;
*hasher*)
cat <<EOF >> "$SOURCES"
rpm-dir file:/tmp/.private/$USER/hasher-sisyphus-64/ repo/x86_64 hasher
......
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