Commit 0460b4d8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add support for ALTServer distro

parent a5beb245
......@@ -84,7 +84,7 @@ pkgmanager()
local CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case $DISTRIB_ID in
ALTLinux)
ALTLinux|ALTServer)
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD="apt-rpm"
......@@ -301,6 +301,9 @@ elif distro gentoo-release ; then
DISTRIB_RELEASE=$(basename $MAKEPROFILE)
echo $DISTRIB_RELEASE | grep -q "[0-9]" || DISTRIB_RELEASE=$(basename "$(dirname $MAKEPROFILE)") #"
elif [ "$DISTRIB_ID" = "ALTServer" ] ; then
DISTRIB_RELEASE=$(echo $DISTRIB_RELEASE | sed -e "s/\..*//g")
elif distro slackware-version ; then
DISTRIB_ID="Slackware"
DISTRIB_RELEASE="$(grep -Eo '[0-9]+\.[0-9]+' $DISTROFILE)"
......
......@@ -88,7 +88,7 @@ __epm_addrepo_altlinux()
epm repofix etersoft
return 0
;;
basealt|altlinux)
basealt|ALTLinux|ALTServer)
# TODO: setrepo?
assure_exists apt-repo
sudocmd apt-repo add $branch
......@@ -202,7 +202,7 @@ epm_addrepo()
local repo="$*"
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
# Note! Don't use quotes here
__epm_addrepo_altlinux $repo
return
......
......@@ -233,7 +233,7 @@ epm_autoremove()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "help" ] ; then
epm_autoremove_print_help
return 0
......
......@@ -48,7 +48,7 @@ case $PMTYPE in
esac
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
epm_checksystem_$DISTRNAME
;;
*)
......
......@@ -50,7 +50,7 @@ try_fix_apt_rpm_dupls()
epm_dedup()
{
case "$DISTRNAME" in
"ALTLinux")
ALTLinux|ALTServer)
assure_exists /usr/share/apt/scripts/dedup.lua apt-scripts
if [ -z "$direct" ] && [ -f /usr/share/apt/scripts/dedup.lua ] ; then
info "Check for duplicates via apt-get dedup from apt-scripts (also you can use internal EPM dedup implementation with --direct option)"
......
......@@ -189,7 +189,7 @@ epm_download()
local CMD
case $DISTRNAME-$PMTYPE in
ALTLinux-apt-rpm)
ALTLinux-apt-rpm|ALTServer-apt-rpm)
__epm_download_alt $*
return
;;
......
......@@ -266,7 +266,7 @@ __epm_check_if_rpm_already_installed()
__handle_direct_install()
{
case "$DISTRNAME" in
"ALTLinux")
ALTLinux|ALTServer)
load_helper epm-download
local pkg url
for pkg in $pkg_names ; do
......@@ -306,7 +306,7 @@ epm_install_files()
# sudo test -r FILE
# do not fallback to install_names if we have no permissions
case "$DISTRNAME" in
"ALTLinux")
ALTLinux|ALTServer)
# TODO: replace with name changed function
__epm_check_if_try_install_deb $@ && return
......@@ -533,7 +533,7 @@ epm_print_install_names_command()
epm_install()
{
if [ "$DISTRNAME" = "ALTLinux" ] ; then
if [ "$DISTRNAME" = "ALTLinux" ] || [ "$DISTRNAME" = "ALTServer" ] ; then
if tasknumber "$pkg_names" >/dev/null ; then
assure_exists apt-repo
# TODO: add --auto support
......
......@@ -27,7 +27,7 @@ epm_kernel_update()
info "Updating system kernel to the latest version..."
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
load_helper epm-query_package
if ! __epm_query_package kernel-image >/dev/null ; then
info "No installed kernel packages, skipping update"
......
......@@ -57,7 +57,7 @@ epm_release_downgrade()
export EPMNOEATMYDATA=1
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
__epm_ru_update || fatal
# try to detect current release by repo
......
......@@ -393,7 +393,7 @@ __switch_alt_to_distro()
__check_system "$TO"
docmd epm upgrade || fatal
;;
"p8 Sisyphus"|"p9 Sisyphus"|"p10 Sisyphus"|"Sisyphus Sisyphus")
"p8 Sisyphus"|"p9 Sisyphus"|"p10 Sisyphus"|"10 Sisyphus"|"Sisyphus Sisyphus")
confirm_info "Upgrade $DISTRNAME from $FROM to $TO ..."
docmd epm install rpm apt "$(get_fix_release_pkg "$FROM")" || fatal
docmd epm upgrade || fatal
......@@ -440,7 +440,7 @@ epm_release_upgrade()
export EPMNOEATMYDATA=1
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
__epm_ru_update || fatal
# TODO: remove this hack (or move it to distro_info)
......
......@@ -280,7 +280,7 @@ epm_remove()
return
fi
if [ "$DISTRNAME" = "ALTLinux" ] ; then
if [ "$DISTRNAME" = "ALTLinux" ] || [ "$DISTRNAME" = "ALTServer" ] ; then
load_helper epm-sh-altlinux
if tasknumber "$pkg_names" >/dev/null ; then
assure_exists apt-repo
......@@ -341,4 +341,3 @@ epm_remove()
epm_remove_names $pkg_names
}
......@@ -25,7 +25,7 @@ epm_remove_old_kernels()
warmup_bases
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
load_helper epm-query_package
if ! __epm_query_package kernel-image >/dev/null ; then
info "No installed kernel packages, skipping cleaning"
......
......@@ -94,7 +94,7 @@ epm_removerepo()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
__epm_removerepo_alt "$@"
return
;;
......
......@@ -179,7 +179,13 @@ EOF
__epm_repack_to_rpm()
{
local pkgs="$*"
assure_distr ALTLinux "install --repack"
case $DISTRNAME in
ALTLinux|ALTServer)
;;
*)
assure_distr ALTLinux "install --repack"
;;
esac
# install epm-repack for static (package based) dependencies
assure_exists fakeroot || fatal
......
......@@ -221,7 +221,7 @@ epm_repofix()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
assure_exists apt-repo
[ -n "$quiet" ] || docmd apt-repo list
assure_root
......
......@@ -74,7 +74,7 @@ __epm_check_vendor()
[ -n "$scripts$noscripts" ] && return
# only ALT
[ "$DISTRNAME" = "ALTLinux" ] || return
[ "$DISTRNAME" = "ALTLinux" ] || [ "$DISTRNAME" = "ALTServer" ] || return
local i
for i in $* ; do
......
......@@ -62,7 +62,7 @@ open_browser()
__query_package_hl_url()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
paoapi srpms/$1 | get_pao_var url
;;
esac
......
......@@ -29,7 +29,7 @@ epm_upgrade()
warmup_bases
if [ "$DISTRNAME" = "ALTLinux" ] ; then
if [ "$DISTRNAME" = "ALTLinux" ] || [ "$DISTRNAME" = "ALTServer" ] ; then
load_helper epm-sh-altlinux
if tasknumber "$@" >/dev/null ; then
load_helper epm-addrepo
......
......@@ -53,7 +53,7 @@ set_service_type()
# TODO: see Running in distro_info, check is_aсtive_systemd
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
CMD="service-chkconfig"
;;
Ubuntu|Debian|Mint|AstraLinux)
......
......@@ -28,7 +28,7 @@ serv_cat()
;;
*)
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
local INITFILE=/etc/init.d/$SERVICE
[ -r "$INITFILE" ] || fatal "Can't find init file $INITFILE"
docmd cat $INITFILE
......
......@@ -29,7 +29,7 @@ serv_exists()
;;
*)
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
local INITFILE=/etc/init.d/$SERVICE
[ -r "$INITFILE" ] || return
return ;;
......
......@@ -53,7 +53,7 @@ serv_log()
;;
*)
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
FF="" ; [ "$1" = "-f" ] && FF="-f"
__serv_log_altlinux "$SERVICE" $FF
return ;;
......
......@@ -679,7 +679,7 @@ __epm_addrepo_altlinux()
epm repofix etersoft
return 0
;;
basealt|altlinux)
basealt|ALTLinux|ALTServer)
# TODO: setrepo?
assure_exists apt-repo
sudocmd apt-repo add $branch
......@@ -792,7 +792,7 @@ epm_addrepo()
local repo="$*"
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
# Note! Don't use quotes here
__epm_addrepo_altlinux $repo
return
......@@ -1276,7 +1276,7 @@ epm_autoremove()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "help" ] ; then
epm_autoremove_print_help
return 0
......@@ -1696,7 +1696,7 @@ case $PMTYPE in
esac
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
epm_checksystem_$DISTRNAME
;;
*)
......@@ -3393,7 +3393,7 @@ epm_kernel_update()
info "Updating system kernel to the latest version..."
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
if ! __epm_query_package kernel-image >/dev/null ; then
info "No installed kernel packages, skipping update"
return
......@@ -4886,7 +4886,7 @@ epm_release_downgrade()
export EPMNOEATMYDATA=1
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
__epm_ru_update || fatal
# try to detect current release by repo
......@@ -5408,7 +5408,7 @@ epm_release_upgrade()
export EPMNOEATMYDATA=1
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
__epm_ru_update || fatal
# TODO: remove this hack (or move it to distro_info)
......@@ -5883,7 +5883,7 @@ epm_remove_old_kernels()
warmup_bases
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
if ! __epm_query_package kernel-image >/dev/null ; then
info "No installed kernel packages, skipping cleaning"
return
......@@ -6010,7 +6010,7 @@ epm_removerepo()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
__epm_removerepo_alt "$@"
return
;;
......@@ -6671,7 +6671,7 @@ epm_repofix()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
assure_exists apt-repo
[ -n "$quiet" ] || docmd apt-repo list
assure_root
......@@ -8305,7 +8305,7 @@ open_browser()
__query_package_hl_url()
{
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
paoapi srpms/$1 | get_pao_var url
;;
esac
......@@ -8828,7 +8828,7 @@ pkgmanager()
local CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case $DISTRIB_ID in
ALTLinux)
ALTLinux|ALTServer)
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD="apt-rpm"
......
......@@ -611,7 +611,7 @@ serv_cat()
;;
*)
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
local INITFILE=/etc/init.d/$SERVICE
[ -r "$INITFILE" ] || fatal "Can't find init file $INITFILE"
docmd cat $INITFILE
......@@ -764,7 +764,7 @@ serv_exists()
;;
*)
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
local INITFILE=/etc/init.d/$SERVICE
[ -r "$INITFILE" ] || return
return ;;
......@@ -932,7 +932,7 @@ serv_log()
;;
*)
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
FF="" ; [ "$1" = "-f" ] && FF="-f"
__serv_log_altlinux "$SERVICE" $FF
return ;;
......@@ -1369,7 +1369,7 @@ pkgmanager()
local CMD
# FIXME: some problems with multibased distros (Server Edition on CentOS and Desktop Edition on Ubuntu)
case $DISTRIB_ID in
ALTLinux)
ALTLinux|ALTServer)
#which ds-install 2>/dev/null >/dev/null && CMD=deepsolver-rpm
#which pkcon 2>/dev/null >/dev/null && CMD=packagekit-rpm
CMD="apt-rpm"
......@@ -2905,7 +2905,7 @@ set_service_type()
# TODO: see Running in distro_info, check is_aсtive_systemd
case $DISTRNAME in
ALTLinux)
ALTLinux|ALTServer)
CMD="service-chkconfig"
;;
Ubuntu|Debian|Mint|AstraLinux)
......
......@@ -32,7 +32,7 @@ PKGMASK="$($DISTRVENDOR -p)/$(epm print constructname $PKGNAME "*" $arch '' '_')
# we miss obsoleted libpangox on ALT, so use RHEL8 build
# lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found
[ "$($DISTRVENDOR -d)" = "ALTLinux" ] && PKGMASK="os-specific/rhel8/$(epm print constructname $PKGNAME "*" $arch)"
[ "$($DISTRVENDOR -s)" = "alt" ] && PKGMASK="os-specific/rhel8/$(epm print constructname $PKGNAME "*" $arch)"
PKG="$($EGET --list --latest https://download.anydesk.com/linux $PKGMASK)" || fatal "Can't get package URL"
......
......@@ -18,7 +18,7 @@ esac
pkgtype="$($DISTRVENDOR -p)"
repack=''
[ "$($DISTRVENDOR -d)" = "ALTLinux" ] && repack='--repack'
[ "$($DISTRVENDOR -s)" = "alt" ] && repack='--repack'
case $pkgtype in
deb)
......
......@@ -27,7 +27,7 @@ case "$($DISTRVENDOR -d)" in
epm install https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1*_amd64.deb
epm rr $DEBREPO ; epm update
;;
"ALTLinux")
ALTLinux|ALTServer)
epm install --repack https://packages.microsoft.com/rhel/8/mssql-server-2019/mssql-server-1*.x86_64.rpm || fatal
;;
*)
......
......@@ -22,7 +22,7 @@ case "$($DISTRVENDOR -d)" in
#epm install https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/msodbcsql17/msodbcsql17_1*_amd64.deb
epm install unixodbc
;;
"ALTLinux")
ALTLinux|ALTServer)
epm install --repack https://packages.microsoft.com/rhel/8/prod/mssql-tools-1*.x86_64.rpm
epm install --repack https://packages.microsoft.com/rhel/8/prod/msodbcsql17-1*.x86_64.rpm
epm install unixODBC
......
......@@ -19,7 +19,7 @@ case $arch in
esac
repack=''
[ "$($DISTRVENDOR -d)" = "ALTLinux" ] && repack='--repack'
[ "$($DISTRVENDOR -s)" = "alt" ] && repack='--repack'
#https://st.mycdn.me/static/sferum/latest/sferum-i386.deb
#https://st.mycdn.me/static/sferum/latest/sferum-amd64.deb
......
......@@ -22,7 +22,7 @@ case "$($DISTRVENDOR -e)" in
ALTLinux/c8)
epm --repack install https://upd.sputnik-lab.com/api-updates/updates/download/94d70495-75ec-4ad7-831d-8008d0525d90/sputnik-browser-stable-5.6.6322.0-1.x86_64.rpm
;;
ALTLinux/*)
ALTLinux/*|ALTServer/*)
epm --repack install https://upd.sputnik-lab.com/api-updates/updates/download/49734e35-cfe1-493c-bfae-8fa83f2a4365/sputnik-browser-stable-5.6.6324.0-1.x86_64.rpm
;;
AstraLinux/*)
......
......@@ -20,7 +20,7 @@ case $arch in
fatal "Unsupported arch $arch for $($DISTRVENDOR -d)"
esac
if [ "$($DISTRVENDOR -d)" = "ALTLinux" ] ; then
if [ "$($DISTRVENDOR -s)" = "alt" ] ; then
epm install $repack https://zoom.us/client/$version/zoom_$arch.rpm
exit
fi
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Uninstall etersoft build of glibc" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
epm downgrade glibc-core glibc-preinstall
exit 0
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Install glusterfs7 (or upgrade from glusterfs6)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
if epmqp --quiet glusterfs6- ; then
# Upgrade if was installed
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Install glusterfs8 (or upgrade from glusterfs7)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
GFSOLD=glusterfs7
GFSNEW=glusterfs8
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Install glusterfs9 (or upgrade from glusterfs8)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
GFSOLD=glusterfs8
GFSNEW=glusterfs9
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Fix missed 32 bit package modules on 64 bit system" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
LIST=''
......
......@@ -5,7 +5,7 @@
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
case "$($DISTRVENDOR -d)" in
"ALTLinux")
"ALTLinux"|"ALTServer")
epm --verbose --simulate remove $(epmqp "^i586-")
;;
"Ubuntu"|"Debian")
......
......@@ -2,7 +2,7 @@
MAIN=wine-etersoft
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
PKGNAMES="lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl"
......
......@@ -2,7 +2,7 @@
MAIN=wine-vanilla
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
PKGNAMES="lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl"
......
......@@ -2,7 +2,7 @@
MAIN=wine
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
PKGNAMES="lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl"
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Install php7 (or upgrade from php5)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
if epmqp --quiet php5- ; then
# Upgrade if was installed php5
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Install php8 (or upgrade from php7)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
# TODO: check for apache2-mod_php7
......
......@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Remove all possible python2 packages" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
PACKAGES="$(epm qp python-module)"
......
......@@ -3,7 +3,7 @@
MAIN=wine
[ -n "$2" ] && MAIN="$2"
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
distro="$($DISTRVENDOR -d)" ; [ "$distro" = "ALTLinux" ] || [ "$distro" = "ALTServer" ] || { echo "Only ALTLinux is supported" ; exit 1 ; }
arch="$($DISTRVENDOR -a)"
......
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