Commit b8a87010 authored by Roman Alifanov's avatar Roman Alifanov

gen-apt-conf: added substrates*

parent ea6e76a3
......@@ -111,6 +111,33 @@ rpm $repo_path/x86_64 addon
rpm $repo_path/noarch addon
EOF
;;
ximper-substrates)
base_url="https://download.etersoft.ru/pub/Etersoft/XimperLinux/Current Substrates"
local_path="file:/var/ftp/pub/Etersoft/XimperLinux/Current Substrates"
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
;;
ximper-substrates-devel)
base_url="https://download.etersoft.ru/pub/Etersoft/XimperLinux/Devel Substrates"
local_path="file:/var/ftp/pub/Etersoft/XimperLinux/Devel Substrates"
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